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.001374/0.001374, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001428/0.001428, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.801 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.002725/0.002725, allocations: 277.9 kB / 312.7 MB, free: 2.727 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.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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.002988/0.002988, allocations: 105.7 kB / 0.74 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1585, allocations: 95.38 MB / 0.8331 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.0053/0.1638, allocations: 3.239 MB / 0.8363 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003671/0.1675, allocations: 1.999 MB / 0.8382 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1677, allocations: 7.938 kB / 0.8383 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009763/0.1686, allocations: 284.7 kB / 0.8385 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.1692, allocations: 242.9 kB / 0.8388 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.1699, allocations: 279.3 kB / 0.839 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.1704, allocations: 410.7 kB / 0.8394 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.1708, allocations: 168.3 kB / 0.8396 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.1712, allocations: 179.3 kB / 0.8397 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.1715, allocations: 199.3 kB / 0.8399 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.1716, allocations: 24 kB / 0.84 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.1721, allocations: 239.5 kB / 0.8402 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1722, allocations: 119.7 kB / 0.8403 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.1724, allocations: 131.4 kB / 0.8404 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.1731, allocations: 498.2 kB / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1731, allocations: 0 / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1731, allocations: 4 kB / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1731, allocations: 0 / 0.8409 GB, free: 15.86 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.001155/0.1742, allocations: 0.5322 MB / 0.8414 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1743, allocations: 13.88 kB / 0.8414 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.1753, allocations: 116.6 kB / 0.8415 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.1757, allocations: 222.7 kB / 0.8418 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1757, allocations: 20.86 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.1758, allocations: 32.7 kB / 0.8418 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.1766, allocations: 0.5297 MB / 0.8423 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1766, allocations: 3.938 kB / 0.8423 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.1767, allocations: 8 kB / 0.8423 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.1768, allocations: 40.47 kB / 0.8424 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.1775, allocations: 365.7 kB / 0.8427 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.18, allocations: 1.598 MB / 0.8443 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.1804, allocations: 238.4 kB / 0.8445 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1806, allocations: 144.8 kB / 0.8447 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1807, allocations: 4 kB / 0.8447 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1807, allocations: 34.56 kB / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.1807, allocations: 0 / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001806/0.1825, allocations: 0.9063 MB / 0.8456 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1825, allocations: 59.34 kB / 0.8456 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1829, allocations: 247 kB / 0.8459 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1829, allocations: 29.7 kB / 0.8459 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.183, allocations: 192.3 kB / 0.8461 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.1831, allocations: 87.25 kB / 0.8462 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1832, allocations: 77.64 kB / 0.8462 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1834, allocations: 342.8 kB / 0.8466 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.1837, allocations: 151.9 kB / 0.8467 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1841, allocations: 243 kB / 0.8469 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.1847, allocations: 406.8 kB / 0.8473 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1847, allocations: 3.938 kB / 0.8473 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001265/0.186, allocations: 0.6081 MB / 0.8479 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.186, allocations: 4.625 kB / 0.8479 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.186, allocations: 7.938 kB / 0.8479 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007013/0.1867, allocations: 188.9 kB / 0.8481 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1871, allocations: 63.89 kB / 0.8482 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.1902, allocations: 2.339 MB / 0.8505 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.1906, allocations: 28.05 kB / 0.8505 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.1906, allocations: 15.98 kB / 0.8505 GB, free: 5.57 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.0001863/0.1908, allocations: 162.4 kB / 0.8507 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.1909, allocations: 31.78 kB / 0.8507 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.1916, allocations: 357.5 kB / 0.851 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1916, allocations: 3.938 kB / 0.851 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1916, allocations: 0 / 0.851 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1916, allocations: 0 / 0.851 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1928, allocations: 0.6988 MB / 0.8517 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1928, allocations: 3.938 kB / 0.8517 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.1932, allocations: 79.88 kB / 0.8518 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1932, allocations: 0 / 0.8518 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.1932, allocations: 11.98 kB / 0.8518 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1932, allocations: 0 / 0.8518 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.1932, allocations: 4 kB / 0.8518 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.1942, allocations: 0.6154 MB / 0.8524 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.1943, allocations: 47.88 kB / 0.8525 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.1944, allocations: 11.98 kB / 0.8525 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.1946, allocations: 16.05 kB / 0.8525 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1947, allocations: 19.97 kB / 0.8525 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1947, allocations: 8 kB / 0.8525 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002276/0.1949, allocations: 177.2 kB / 0.8527 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1949, allocations: 0 / 0.8527 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004327/0.1954, allocations: 88 kB / 0.8528 GB, free: 3.184 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.000158/0.1955, allocations: 115.2 kB / 0.8529 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.1965, allocations: 0.5176 MB / 0.8534 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1965, allocations: 4 kB / 0.8534 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.1968, allocations: 141.5 kB / 0.8535 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1972, allocations: 58.14 kB / 0.8536 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1988, allocations: 0.8359 MB / 0.8544 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.199, allocations: 189.7 kB / 0.8546 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.1992, allocations: 82.2 kB / 0.8547 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.1993, allocations: 27.42 kB / 0.8547 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.1993, allocations: 3.938 kB / 0.8547 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.009046/0.2083, allocations: 4.456 MB / 0.859 GB, free: 12.75 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: 6.189417062327266] Failed to read output from testmodel.py, exit status != 0: 0.2159575279802084 0.23188618599999994 0.055688321000000006 Calling exit ...