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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 97.69 kB / 19.58 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 188.9 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 285.1 kB / 307 MB, free: 8.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.149/1.149, allocations: 180.8 MB / 0.5304 GB, free: 14.41 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 97.78 kB / 0.7311 GB, free: 39.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1498, allocations: 94.21 MB / 0.8231 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004959/0.1548, allocations: 3.369 MB / 0.8264 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003254/0.158, allocations: 2.077 MB / 0.8284 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1581, allocations: 7.938 kB / 0.8284 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.1591, allocations: 302.7 kB / 0.8287 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.1595, allocations: 238.9 kB / 0.8289 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.1601, allocations: 289.9 kB / 0.8292 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.1606, allocations: 410.8 kB / 0.8296 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.1609, allocations: 152.1 kB / 0.8298 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1611, allocations: 175.4 kB / 0.8299 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.1615, allocations: 211.3 kB / 0.8301 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1616, allocations: 24 kB / 0.8302 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.1619, allocations: 247.5 kB / 0.8304 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1621, allocations: 115.7 kB / 0.8305 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1623, allocations: 155.2 kB / 0.8306 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.1629, allocations: 490.2 kB / 0.8311 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1629, allocations: 0 / 0.8311 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1629, allocations: 0 / 0.8311 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.1629, allocations: 0 / 0.8311 GB, free: 9.734 MB / 0.5762 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.00105/0.1639, allocations: 0.5362 MB / 0.8316 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.164, allocations: 12.03 kB / 0.8316 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.1649, allocations: 116.6 kB / 0.8318 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1653, allocations: 222.7 kB / 0.832 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1653, allocations: 16.88 kB / 0.832 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1655, allocations: 32.73 kB / 0.832 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.1663, allocations: 0.5296 MB / 0.8325 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1663, allocations: 3.938 kB / 0.8325 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.1663, allocations: 8 kB / 0.8325 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.1665, allocations: 36.47 kB / 0.8326 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.1672, allocations: 369.6 kB / 0.8329 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.1698, allocations: 2.166 MB / 0.835 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.1703, allocations: 242.4 kB / 0.8353 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.1705, allocations: 148.8 kB / 0.8354 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1705, allocations: 0 / 0.8354 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1706, allocations: 38.5 kB / 0.8355 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.1706, allocations: 0 / 0.8355 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.00178/0.1724, allocations: 0.9142 MB / 0.8364 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1724, allocations: 51.41 kB / 0.8364 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1727, allocations: 256.8 kB / 0.8366 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1728, allocations: 33.7 kB / 0.8367 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1729, allocations: 188.3 kB / 0.8369 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.173, allocations: 91.31 kB / 0.8369 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1731, allocations: 85.58 kB / 0.837 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1733, allocations: 326.8 kB / 0.8373 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.1736, allocations: 163.9 kB / 0.8375 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.174, allocations: 242.3 kB / 0.8377 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.1746, allocations: 402.9 kB / 0.8381 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1746, allocations: 4 kB / 0.8381 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001251/0.1758, allocations: 0.6037 MB / 0.8387 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1758, allocations: 4.312 kB / 0.8387 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1758, allocations: 8 kB / 0.8387 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006926/0.1765, allocations: 188.7 kB / 0.8389 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.1769, allocations: 71.83 kB / 0.839 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.1799, allocations: 2.39 MB / 0.8413 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1803, allocations: 24.05 kB / 0.8413 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.1804, allocations: 15.98 kB / 0.8413 GB, free: 14.68 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.0001842/0.1805, allocations: 166.3 kB / 0.8415 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1806, allocations: 27.8 kB / 0.8415 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.1812, allocations: 356.7 kB / 0.8419 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1812, allocations: 4 kB / 0.8419 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1812, allocations: 4 kB / 0.8419 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1812, allocations: 0 / 0.8419 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1824, allocations: 0.7879 MB / 0.8426 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1824, allocations: 0 / 0.8426 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.1828, allocations: 75.83 kB / 0.8427 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.1828, allocations: 7.984 kB / 0.8427 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1828, allocations: 4 kB / 0.8427 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1828, allocations: 64 / 0.8427 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1828, allocations: 4 kB / 0.8427 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.1836, allocations: 0.6198 MB / 0.8433 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1838, allocations: 51.86 kB / 0.8434 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.1838, allocations: 8 kB / 0.8434 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.1841, allocations: 15.98 kB / 0.8434 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1841, allocations: 19.91 kB / 0.8434 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1841, allocations: 16 kB / 0.8434 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000241/0.1844, allocations: 188.5 kB / 0.8436 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1844, allocations: 0 / 0.8436 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003885/0.1847, allocations: 84 kB / 0.8437 GB, free: 12.18 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.0001441/0.1849, allocations: 107.2 kB / 0.8438 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009721/0.1859, allocations: 0.5022 MB / 0.8443 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1859, allocations: 3.938 kB / 0.8443 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.1861, allocations: 144.4 kB / 0.8444 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1865, allocations: 64.33 kB / 0.8445 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.188, allocations: 0.8342 MB / 0.8453 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1885, allocations: 0.7912 MB / 0.8461 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002134/0.1887, allocations: 82.89 kB / 0.8462 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.1887, allocations: 27.42 kB / 0.8462 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1887, allocations: 0 / 0.8462 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of Templates: time 0.008625/0.1974, allocations: 4.449 MB / 0.8505 GB, free: 5.125 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.725450445897877] Failed to read output from testmodel.py, exit status != 0: 0.204679663060233 0.21921853700000002 0.053436406000000006 Calling exit ...