Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001244/0.001244, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00139/0.00139, allocations: 187.9 kB / 22.22 MB, free: 5.105 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.359/1.359, allocations: 225.6 MB / 251 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.002409/0.002409, allocations: 284.1 kB / 306.5 MB, free: 8.352 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.164/1.164, allocations: 180.9 MB / 0.53 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 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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 97.28 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1627, allocations: 94.21 MB / 0.8228 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006129/0.1688, allocations: 4.425 MB / 0.8272 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.1726, allocations: 2.451 MB / 0.8296 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.1728, allocations: 23.75 kB / 0.8296 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1739, allocations: 390.2 kB / 0.8299 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.1747, allocations: 386.2 kB / 0.8303 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.1754, allocations: 317.6 kB / 0.8306 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007501/0.1761, allocations: 0.6947 MB / 0.8313 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.1765, allocations: 190.4 kB / 0.8315 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.1768, allocations: 263 kB / 0.8317 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.1772, allocations: 282.8 kB / 0.832 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1772, allocations: 28 kB / 0.832 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.1779, allocations: 447 kB / 0.8325 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.178, allocations: 151.5 kB / 0.8326 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.1782, allocations: 234.7 kB / 0.8328 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008287/0.1791, allocations: 0.7315 MB / 0.8335 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1791, allocations: 4 kB / 0.8335 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1791, allocations: 0 / 0.8335 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.1791, allocations: 0 / 0.8335 GB, free: 6.84 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001113/0.1802, allocations: 0.7304 MB / 0.8343 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1802, allocations: 12.03 kB / 0.8343 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1815, allocations: 184.4 kB / 0.8344 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.1821, allocations: 365.6 kB / 0.8348 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1822, allocations: 37.3 kB / 0.8348 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.1822, allocations: 32.36 kB / 0.8349 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008913/0.1831, allocations: 0.651 MB / 0.8355 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.1831, allocations: 3.938 kB / 0.8355 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.1832, allocations: 23.98 kB / 0.8355 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.1833, allocations: 51.97 kB / 0.8356 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.184, allocations: 0.4921 MB / 0.836 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.1873, allocations: 3.74 MB / 0.8397 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.1889, allocations: 0.6126 MB / 0.8403 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.1892, allocations: 162.5 kB / 0.8405 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1892, allocations: 4 kB / 0.8405 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1892, allocations: 42.5 kB / 0.8405 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.1892, allocations: 3.938 kB / 0.8405 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002124/0.1914, allocations: 1.067 MB / 0.8415 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1914, allocations: 106.8 kB / 0.8416 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.1918, allocations: 401.8 kB / 0.842 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1919, allocations: 29.7 kB / 0.8421 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.1921, allocations: 284.2 kB / 0.8423 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.1921, allocations: 128.6 kB / 0.8424 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1923, allocations: 98.3 kB / 0.8425 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1925, allocations: 358.8 kB / 0.8429 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1927, allocations: 177.2 kB / 0.8431 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1931, allocations: 368.2 kB / 0.8434 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.1939, allocations: 0.5951 MB / 0.844 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.1939, allocations: 3.938 kB / 0.844 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001059/0.1949, allocations: 0.671 MB / 0.8446 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.195, allocations: 8 kB / 0.8447 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.195, allocations: 8 kB / 0.8447 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.1953, allocations: 107.1 kB / 0.8448 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.1957, allocations: 115.8 kB / 0.8449 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.1991, allocations: 4.039 MB / 0.8488 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.1993, allocations: 27.92 kB / 0.8488 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.1994, allocations: 27.98 kB / 0.8489 GB, free: 6.059 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.1996, allocations: 202.3 kB / 0.8491 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1997, allocations: 47.72 kB / 0.8491 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008941/0.2006, allocations: 0.5188 MB / 0.8496 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2006, allocations: 7.938 kB / 0.8496 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2006, allocations: 4 kB / 0.8496 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2006, allocations: 4 kB / 0.8496 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.2024, allocations: 1.251 MB / 0.8509 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2024, allocations: 3.984 kB / 0.8509 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.2026, allocations: 59.91 kB / 0.8509 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.2029, allocations: 90.5 kB / 0.851 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.2029, allocations: 12.28 kB / 0.851 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.2062, allocations: 4.042 MB / 0.855 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2062, allocations: 4 kB / 0.855 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.2071, allocations: 0.7816 MB / 0.8557 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.2073, allocations: 79.62 kB / 0.8558 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.2073, allocations: 8 kB / 0.8558 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2076, allocations: 23.97 kB / 0.8558 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.2077, allocations: 39.83 kB / 0.8559 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2077, allocations: 8 kB / 0.8559 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000314/0.208, allocations: 283.1 kB / 0.8561 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.208, allocations: 4 kB / 0.8562 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006267/0.2086, allocations: 120.3 kB / 0.8563 GB, free: 13.96 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.2088, allocations: 120 kB / 0.8564 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.21, allocations: 0.7782 MB / 0.8571 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.21, allocations: 4 kB / 0.8571 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.2107, allocations: 0.5313 MB / 0.8577 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.2116, allocations: 140.6 kB / 0.8578 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.213, allocations: 0.9133 MB / 0.8587 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.2135, allocations: 0.8663 MB / 0.8595 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.2137, allocations: 104.5 kB / 0.8596 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.2138, allocations: 39.42 kB / 0.8597 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2138, allocations: 0 / 0.8597 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.01141/0.2252, allocations: 6.183 MB / 0.8657 GB, free: 4.172 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.876679955981672] Failed to read output from testmodel.py, exit status != 0: 0.23267969768494368 0.24696336499999996 0.064982608 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0ba4de17b0>