Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.001419/0.001419, allocations: 84.48 kB / 19.94 MB, free: 1.777 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.001778/0.001778, allocations: 161.5 kB / 23.21 MB, free: 4.902 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.379/1.379, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9022/0.9022, allocations: 114 MB / 373.9 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5546 GB, free: 2.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.572e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005755/0.00578, allocations: 4.01 MB / 0.5586 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.008373, allocations: 1.547 MB / 0.5601 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.008515, allocations: 15.94 kB / 0.5601 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.01018, allocations: 0.5874 MB / 0.5607 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.01067, allocations: 242.5 kB / 0.5609 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.01118, allocations: 225.7 kB / 0.5611 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000647/0.01183, allocations: 0.5645 MB / 0.5617 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.01239, allocations: 346 kB / 0.562 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.01278, allocations: 319.3 kB / 0.5623 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.01322, allocations: 231.3 kB / 0.5625 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.01329, allocations: 36 kB / 0.5626 GB, free: 10.56 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.0136, allocations: 155.6 kB / 0.5627 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.01377, allocations: 163.5 kB / 0.5629 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.01396, allocations: 139.7 kB / 0.563 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.01463, allocations: 0.5413 MB / 0.5635 GB, free: 9.566 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01464, allocations: 4 kB / 0.5635 GB, free: 9.562 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01464, allocations: 0 / 0.5635 GB, free: 9.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.01464, allocations: 0 / 0.5635 GB, free: 9.562 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001228/0.01587, allocations: 0.6107 MB / 0.5641 GB, free: 8.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.01591, allocations: 8.625 kB / 0.5641 GB, free: 8.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007264/0.01664, allocations: 112.6 kB / 0.5642 GB, free: 8.801 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.01705, allocations: 245.1 kB / 0.5645 GB, free: 8.535 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.01713, allocations: 55.27 kB / 0.5645 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.01718, allocations: 32.38 kB / 0.5645 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.01811, allocations: 0.6057 MB / 0.5651 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.01813, allocations: 4.125 kB / 0.5651 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.01817, allocations: 16.12 kB / 0.5652 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.01823, allocations: 36.97 kB / 0.5652 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.01894, allocations: 375.7 kB / 0.5656 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.02107, allocations: 1.399 MB / 0.5669 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.02187, allocations: 245.2 kB / 0.5672 GB, free: 5.676 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.02224, allocations: 140.8 kB / 0.5673 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.02227, allocations: 4 kB / 0.5673 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.0223, allocations: 34.5 kB / 0.5673 GB, free: 5.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.0223, allocations: 0 / 0.5673 GB, free: 5.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.001614/0.02391, allocations: 434.8 kB / 0.5677 GB, free: 5.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.02395, allocations: 55.41 kB / 0.5678 GB, free: 4.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.02418, allocations: 211 kB / 0.568 GB, free: 4.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.02421, allocations: 33.7 kB / 0.568 GB, free: 4.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.02435, allocations: 208.2 kB / 0.5682 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.02441, allocations: 75.42 kB / 0.5683 GB, free: 4.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.0245, allocations: 49.7 kB / 0.5683 GB, free: 4.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.02464, allocations: 334.8 kB / 0.5687 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.02487, allocations: 96.8 kB / 0.5688 GB, free: 3.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.02519, allocations: 234.5 kB / 0.569 GB, free: 3.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.0257, allocations: 282.9 kB / 0.5692 GB, free: 3.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0257, allocations: 0 / 0.5692 GB, free: 3.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009259/0.02663, allocations: 384.3 kB / 0.5696 GB, free: 2.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.02665, allocations: 8 kB / 0.5696 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.02665, allocations: 320 / 0.5696 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.02722, allocations: 117.6 kB / 0.5697 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.02744, allocations: 51.91 kB / 0.5698 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.03101, allocations: 2.813 MB / 0.5725 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.03127, allocations: 31.83 kB / 0.5726 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.03129, allocations: 8 kB / 0.5726 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003715/0.03166, allocations: 221.1 kB / 0.5728 GB, free: 15.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003428/0.032, allocations: 235.9 kB / 0.573 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005174/0.03252, allocations: 268 kB / 0.5733 GB, free: 14.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.03252, allocations: 0 / 0.5733 GB, free: 14.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000932/0.03345, allocations: 370.8 kB / 0.5736 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.03346, allocations: 8.312 kB / 0.5736 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.03347, allocations: 11.94 kB / 0.5736 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.03389, allocations: 109.6 kB / 0.5737 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.0341, allocations: 43.97 kB / 0.5738 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.03748, allocations: 2.759 MB / 0.5765 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.03778, allocations: 36.06 kB / 0.5765 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.03781, allocations: 16 kB / 0.5765 GB, free: 11.39 MB / 494.1 MB 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.03799, allocations: 196.1 kB / 0.5767 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.03804, allocations: 27.94 kB / 0.5767 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.03811, allocations: 25.8 kB / 0.5768 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.03811, allocations: 0 / 0.5768 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.03811, allocations: 0 / 0.5768 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.03812, allocations: 7.922 kB / 0.5768 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.03947, allocations: 0.6709 MB / 0.5774 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.03947, allocations: 4 kB / 0.5774 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.03962, allocations: 31.92 kB / 0.5775 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.04003, allocations: 105.7 kB / 0.5776 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.04005, allocations: 7.984 kB / 0.5776 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.04338, allocations: 2.767 MB / 0.5803 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04338, allocations: 0 / 0.5803 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.0442, allocations: 415.2 kB / 0.5807 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.04429, allocations: 39.78 kB / 0.5807 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.04432, allocations: 8 kB / 0.5807 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.04449, allocations: 15.92 kB / 0.5807 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.04457, allocations: 19.97 kB / 0.5807 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.04459, allocations: 4 kB / 0.5807 GB, free: 6.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.04473, allocations: 154.8 kB / 0.5809 GB, free: 6.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04473, allocations: 0 / 0.5809 GB, free: 6.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006551/0.04539, allocations: 175.5 kB / 0.5811 GB, free: 6.445 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.04557, allocations: 111.2 kB / 0.5812 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.04768, allocations: 0.8565 MB / 0.582 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.04768, allocations: 0.875 kB / 0.582 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008189/0.0485, allocations: 369.2 kB / 0.5824 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.04892, allocations: 51.81 kB / 0.5824 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.04998, allocations: 0.5737 MB / 0.583 GB, free: 4.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.05022, allocations: 207.8 kB / 0.5832 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.05038, allocations: 49.91 kB / 0.5832 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.05043, allocations: 20.5 kB / 0.5832 GB, free: 4.09 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.05044, allocations: 0 / 0.5832 GB, free: 4.09 MB / 494.1 MB Notification: Performance of Templates: time 0.00989/0.06032, allocations: 4.637 MB / 0.5878 GB, free: 15.54 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.296502031385899] Failed to read output from testmodel.py, exit status != 0: 0.06907317787408829 0.084090834 0.066120128 Calling exit ...