Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 206.6 kB / 22.99 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002757/0.002757, allocations: 298.9 kB / 313.5 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.275/1.275, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 101.1 kB / 0.7407 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1753, allocations: 95.39 MB / 0.8339 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005302/0.1806, allocations: 3.24 MB / 0.837 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00388/0.1845, allocations: 1.976 MB / 0.839 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1847, allocations: 11.94 kB / 0.839 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.1858, allocations: 288.1 kB / 0.8392 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.1864, allocations: 246.9 kB / 0.8395 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.1871, allocations: 289.1 kB / 0.8398 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.1877, allocations: 406.8 kB / 0.8401 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.188, allocations: 172.2 kB / 0.8403 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.1883, allocations: 179.4 kB / 0.8405 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1887, allocations: 191.3 kB / 0.8407 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.1887, allocations: 24 kB / 0.8407 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.1892, allocations: 247.5 kB / 0.8409 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1894, allocations: 123.7 kB / 0.841 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1895, allocations: 123.4 kB / 0.8412 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006897/0.1902, allocations: 0.4905 MB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1902, allocations: 0 / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1902, allocations: 0 / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.1902, allocations: 0 / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00111/0.1914, allocations: 0.5322 MB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1914, allocations: 13.34 kB / 0.8422 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009762/0.1924, allocations: 120.6 kB / 0.8423 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.1928, allocations: 215.5 kB / 0.8425 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.1928, allocations: 16.88 kB / 0.8425 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.193, allocations: 40.62 kB / 0.8425 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.1939, allocations: 0.5258 MB / 0.8431 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1939, allocations: 0 / 0.8431 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.1939, allocations: 19.97 kB / 0.8431 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.1941, allocations: 36.47 kB / 0.8431 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.1948, allocations: 365.6 kB / 0.8435 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.1974, allocations: 1.594 MB / 0.845 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.1978, allocations: 242.4 kB / 0.8452 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.198, allocations: 140.8 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1981, allocations: 4 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1981, allocations: 38.5 kB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.1981, allocations: 4 kB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001943/0.2, allocations: 0.9031 MB / 0.8463 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2001, allocations: 55.41 kB / 0.8464 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.2004, allocations: 251 kB / 0.8466 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2005, allocations: 33.7 kB / 0.8466 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2007, allocations: 192.3 kB / 0.8468 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.2008, allocations: 83.27 kB / 0.8469 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2009, allocations: 81.62 kB / 0.847 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.2011, allocations: 338.8 kB / 0.8473 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.2014, allocations: 151.9 kB / 0.8474 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.2018, allocations: 243 kB / 0.8477 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.2025, allocations: 414.8 kB / 0.8481 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2025, allocations: 3.938 kB / 0.8481 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001296/0.2038, allocations: 0.5963 MB / 0.8487 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2038, allocations: 4 kB / 0.8487 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2038, allocations: 4.312 kB / 0.8487 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006754/0.2045, allocations: 192.6 kB / 0.8488 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.2049, allocations: 67.89 kB / 0.8489 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.2079, allocations: 2.347 MB / 0.8512 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.2083, allocations: 23.97 kB / 0.8512 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.2084, allocations: 16 kB / 0.8512 GB, free: 5.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.2086, allocations: 162.3 kB / 0.8514 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.2086, allocations: 27.8 kB / 0.8514 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.2092, allocations: 354.2 kB / 0.8518 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2092, allocations: 8.062 kB / 0.8518 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.2092, allocations: 0 / 0.8518 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2093, allocations: 0 / 0.8518 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.2104, allocations: 0.7104 MB / 0.8525 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2104, allocations: 7.875 kB / 0.8525 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.2108, allocations: 75.94 kB / 0.8525 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2108, allocations: 0 / 0.8525 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.2108, allocations: 4 kB / 0.8525 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2108, allocations: 0 / 0.8525 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2108, allocations: 0 / 0.8525 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.2117, allocations: 0.6222 MB / 0.8532 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.2118, allocations: 51.88 kB / 0.8532 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.2119, allocations: 8 kB / 0.8532 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2121, allocations: 15.97 kB / 0.8532 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2122, allocations: 11.98 kB / 0.8532 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.2122, allocations: 11.98 kB / 0.8532 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000242/0.2124, allocations: 177.2 kB / 0.8534 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2124, allocations: 0 / 0.8534 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004494/0.2129, allocations: 84 kB / 0.8535 GB, free: 3.207 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.2131, allocations: 115.2 kB / 0.8536 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.2141, allocations: 0.5181 MB / 0.8541 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2141, allocations: 4.062 kB / 0.8541 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.2143, allocations: 140.4 kB / 0.8543 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.2148, allocations: 56.31 kB / 0.8543 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2164, allocations: 0.8868 MB / 0.8552 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2166, allocations: 189.7 kB / 0.8554 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2168, allocations: 23.44 kB / 0.8554 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.2168, allocations: 4 kB / 0.8554 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of Templates: time 0.007684/0.2244, allocations: 4.596 MB / 0.8599 GB, free: 12.61 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.081230890005827] Failed to read output from testmodel.py, exit status != 0: 0.23220780491828918 0.248132708 0.054677283 Calling exit ...