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.001576/0.001576, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001833/0.001833, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.002615/0.002615, allocations: 289.7 kB / 313.5 MB, free: 2.824 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.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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.002941/0.002941, allocations: 100 kB / 0.7408 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1654, allocations: 95.38 MB / 0.834 GB, free: 8.18 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005325/0.1707, allocations: 3.404 MB / 0.8373 GB, free: 4.762 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1743, allocations: 2.12 MB / 0.8394 GB, free: 2.629 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1745, allocations: 7.938 kB / 0.8394 GB, free: 2.621 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.1755, allocations: 294.8 kB / 0.8396 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005774/0.1761, allocations: 239 kB / 0.8399 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.1768, allocations: 300.2 kB / 0.8402 GB, free: 1.805 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.1774, allocations: 406.7 kB / 0.8405 GB, free: 1.406 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.1778, allocations: 168.3 kB / 0.8407 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.1781, allocations: 171.4 kB / 0.8409 GB, free: 1.07 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.1786, allocations: 211.3 kB / 0.8411 GB, free: 0.8633 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.1786, allocations: 24 kB / 0.8411 GB, free: 0.8398 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.1791, allocations: 275.4 kB / 0.8414 GB, free: 0.5703 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1793, allocations: 123.7 kB / 0.8415 GB, free: 460 kB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1795, allocations: 143.3 kB / 0.8416 GB, free: 316 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.1802, allocations: 0.4905 MB / 0.8421 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1802, allocations: 0 / 0.8421 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1802, allocations: 0 / 0.8421 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.1803, allocations: 0 / 0.8421 GB, free: 15.82 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.001322/0.1816, allocations: 0.5322 MB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1816, allocations: 9.344 kB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1827, allocations: 120.6 kB / 0.8427 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.1831, allocations: 219.5 kB / 0.8429 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1832, allocations: 20.86 kB / 0.843 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.1833, allocations: 36.69 kB / 0.843 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008209/0.1841, allocations: 457.3 kB / 0.8434 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1842, allocations: 0 / 0.8434 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.1842, allocations: 11.98 kB / 0.8434 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.1844, allocations: 40.47 kB / 0.8435 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.1851, allocations: 369.7 kB / 0.8438 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.1881, allocations: 2.154 MB / 0.8459 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.1885, allocations: 246.4 kB / 0.8462 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1888, allocations: 144.8 kB / 0.8463 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1888, allocations: 4 kB / 0.8463 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1888, allocations: 34.56 kB / 0.8463 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.1888, allocations: 4 kB / 0.8464 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001898/0.1907, allocations: 0.9014 MB / 0.8472 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1908, allocations: 55.41 kB / 0.8473 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.1911, allocations: 260.9 kB / 0.8475 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.1912, allocations: 29.7 kB / 0.8476 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1913, allocations: 196.3 kB / 0.8477 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.1914, allocations: 87.28 kB / 0.8478 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.1915, allocations: 81.62 kB / 0.8479 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1917, allocations: 330.8 kB / 0.8482 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.192, allocations: 159.9 kB / 0.8484 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.1924, allocations: 249.5 kB / 0.8486 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.193, allocations: 406.8 kB / 0.849 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.193, allocations: 4 kB / 0.849 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001349/0.1944, allocations: 0.5925 MB / 0.8496 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1944, allocations: 11.94 kB / 0.8496 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1944, allocations: 0 / 0.8496 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/0.1952, allocations: 192.8 kB / 0.8498 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.1955, allocations: 63.89 kB / 0.8498 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.1988, allocations: 2.385 MB / 0.8522 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.1991, allocations: 24.02 kB / 0.8522 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1992, allocations: 15.98 kB / 0.8522 GB, free: 4.875 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.000185/0.1994, allocations: 170.3 kB / 0.8524 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.1994, allocations: 31.86 kB / 0.8524 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/0.2, allocations: 357.8 kB / 0.8527 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2, allocations: 4 kB / 0.8527 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.2, allocations: 0 / 0.8527 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2, allocations: 0 / 0.8527 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2012, allocations: 0.7879 MB / 0.8535 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2012, allocations: 4 kB / 0.8535 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.2016, allocations: 75.95 kB / 0.8536 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2016, allocations: 7.984 kB / 0.8536 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2016, allocations: 4 kB / 0.8536 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2016, allocations: 4 kB / 0.8536 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2016, allocations: 0 / 0.8536 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.2024, allocations: 0.6151 MB / 0.8542 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2025, allocations: 63.81 kB / 0.8543 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.2026, allocations: 8 kB / 0.8543 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2028, allocations: 15.98 kB / 0.8543 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.2029, allocations: 15.91 kB / 0.8543 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2029, allocations: 8 kB / 0.8543 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002302/0.2031, allocations: 184.5 kB / 0.8545 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2031, allocations: 0 / 0.8545 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004093/0.2035, allocations: 92 kB / 0.8546 GB, free: 2.367 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.0001532/0.2037, allocations: 115.2 kB / 0.8547 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009906/0.2047, allocations: 0.517 MB / 0.8552 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2047, allocations: 0 / 0.8552 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.2049, allocations: 139.8 kB / 0.8553 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.2054, allocations: 62.64 kB / 0.8554 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2069, allocations: 0.8741 MB / 0.8562 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.2074, allocations: 0.8027 MB / 0.857 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2075, allocations: 27.38 kB / 0.8571 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.2075, allocations: 0 / 0.8571 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.007737/0.2152, allocations: 4.561 MB / 0.8615 GB, free: 11.2 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.11424550996162] Failed to read output from testmodel.py, exit status != 0: 0.22287720488384366 0.23867560000000002 0.055314119 Calling exit ...