Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001562/0.001562, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001573/0.001573, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.388/1.388, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.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.002346/0.002346, allocations: 288.1 kB / 303.6 MB, free: 3.695 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.025/1.025, allocations: 180.9 MB / 0.5268 GB, free: 2.727 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 99.84 kB / 0.7259 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5292, allocations: 94.16 MB / 0.8178 GB, free: 7.656 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001477/0.5307, allocations: 0.5245 MB / 0.8184 GB, free: 7.332 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.5308, allocations: 47.02 kB / 0.8184 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.5309, allocations: 0.9688 kB / 0.8184 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.5309, allocations: 0 / 0.8184 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.531, allocations: 12.05 kB / 0.8184 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 4.433e-05/0.5311, allocations: 3.25 kB / 0.8184 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.5311, allocations: 7.531 kB / 0.8184 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.5312, allocations: 1.469 kB / 0.8184 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.5312, allocations: 14.61 kB / 0.8184 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.5313, allocations: 11.8 kB / 0.8185 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.5313, allocations: 5 kB / 0.8185 GB, free: 7.273 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.5313, allocations: 0 / 0.8185 GB, free: 7.273 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.5314, allocations: 6.031 kB / 0.8185 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.5314, allocations: 5.922 kB / 0.8185 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 5.528e-05/0.5314, allocations: 14.89 kB / 0.8185 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5314, allocations: 1 kB / 0.8185 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5314, allocations: 0 / 0.8185 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5314, allocations: 0 / 0.8185 GB, free: 7.262 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003337/0.5318, allocations: 334.1 kB / 0.8188 GB, free: 6.902 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5318, allocations: 12.62 kB / 0.8188 GB, free: 6.898 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.5318, allocations: 6.891 kB / 0.8188 GB, free: 6.895 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.532, allocations: 172.7 kB / 0.819 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.532, allocations: 1.406 kB / 0.819 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.532, allocations: 1.406 kB / 0.819 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.159e-05/0.5321, allocations: 32.3 kB / 0.819 GB, free: 6.664 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5321, allocations: 192 / 0.819 GB, free: 6.664 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.5321, allocations: 4.844 kB / 0.819 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.5321, allocations: 0 / 0.819 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.5321, allocations: 7.625 kB / 0.819 GB, free: 6.656 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.5322, allocations: 157.7 kB / 0.8192 GB, free: 6.461 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.5322, allocations: 21.02 kB / 0.8192 GB, free: 6.438 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.5322, allocations: 6.859 kB / 0.8192 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5323, allocations: 0 / 0.8192 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.5323, allocations: 35.91 kB / 0.8192 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.5323, allocations: 3.938 kB / 0.8192 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.5324, allocations: 59.08 kB / 0.8193 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.5324, allocations: 52.28 kB / 0.8194 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.5325, allocations: 108 kB / 0.8195 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.5325, allocations: 30.89 kB / 0.8195 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.5325, allocations: 85.48 kB / 0.8196 GB, free: 6.051 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.5325, allocations: 0 / 0.8196 GB, free: 6.051 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.5326, allocations: 12.53 kB / 0.8196 GB, free: 6.035 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.5326, allocations: 319.6 kB / 0.8199 GB, free: 5.719 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.5326, allocations: 6.5 kB / 0.8199 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.5326, allocations: 17.69 kB / 0.8199 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.5327, allocations: 21.03 kB / 0.8199 GB, free: 5.68 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5327, allocations: 0 / 0.8199 GB, free: 5.68 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.111e-05/0.5327, allocations: 52.86 kB / 0.82 GB, free: 5.641 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5327, allocations: 9.031 kB / 0.82 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5327, allocations: 5.188 kB / 0.82 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5328, allocations: 5.375 kB / 0.82 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.5328, allocations: 6.719 kB / 0.82 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5328, allocations: 1.438 kB / 0.82 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.5328, allocations: 0 / 0.82 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.5328, allocations: 1.25 kB / 0.82 GB, free: 5.625 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.012e-05/0.5329, allocations: 111.7 kB / 0.8201 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.5329, allocations: 1.5 kB / 0.8201 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.533, allocations: 57.95 kB / 0.8202 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.533, allocations: 0 / 0.8202 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.533, allocations: 1.031 kB / 0.8202 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.533, allocations: 0 / 0.8202 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.543e-05/0.5331, allocations: 159.6 kB / 0.8203 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5331, allocations: 0 / 0.8203 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.5331, allocations: 6.594 kB / 0.8203 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.5331, allocations: 0.7812 kB / 0.8203 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5331, allocations: 5.25 kB / 0.8203 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5331, allocations: 0 / 0.8203 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5331, allocations: 4.031 kB / 0.8203 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.928e-05/0.5332, allocations: 85.94 kB / 0.8204 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.5332, allocations: 82.45 kB / 0.8205 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.5333, allocations: 9.125 kB / 0.8205 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.5333, allocations: 0 / 0.8205 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.5333, allocations: 1.031 kB / 0.8205 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.5333, allocations: 1.031 kB / 0.8205 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.5333, allocations: 94.36 kB / 0.8206 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.5333, allocations: 0 / 0.8206 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001804/0.5335, allocations: 2.938 kB / 0.8206 GB, free: 4.996 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 7.882e-05/0.5336, allocations: 97.48 kB / 0.8207 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 8.199e-05/0.5337, allocations: 17.38 kB / 0.8207 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5337, allocations: 0 / 0.8207 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.391e-05/0.5337, allocations: 12.48 kB / 0.8207 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.5338, allocations: 9.797 kB / 0.8207 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.534, allocations: 146.2 kB / 0.8209 GB, free: 4.746 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.5341, allocations: 0.6784 MB / 0.8215 GB, free: 4.051 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.5342, allocations: 8.406 kB / 0.8215 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of SimCode: time 2.71e-07/0.5342, allocations: 3.938 kB / 0.8215 GB, free: 4.039 MB / 0.5763 GB Notification: Performance of Templates: time 0.001702/0.5359, allocations: 0.5144 MB / 0.822 GB, free: 4.012 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.315524460049346] Failed to read output from testmodel.py, exit status != 0: 0.5433708119671792 0.553091016 0.019055069 Calling exit ...