Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001339/0.001339, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001329/0.001329, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.002424/0.002424, allocations: 279.3 kB / 303.6 MB, free: 3.777 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.05/1.05, allocations: 180.9 MB / 0.5268 GB, free: 2.676 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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 99.84 kB / 0.7259 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.5812, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002636/0.5838, allocations: 1.583 MB / 0.8194 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.5851, allocations: 0.9211 MB / 0.8203 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.5852, allocations: 5.406 kB / 0.8203 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.5852, allocations: 7.875 kB / 0.8203 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.5854, allocations: 26.72 kB / 0.8203 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.5858, allocations: 137.6 kB / 0.8205 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.5859, allocations: 64.45 kB / 0.8205 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.586, allocations: 16.12 kB / 0.8206 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.5861, allocations: 37.62 kB / 0.8206 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.5862, allocations: 35.86 kB / 0.8206 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.5862, allocations: 5.094 kB / 0.8206 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.5866, allocations: 287.5 kB / 0.8209 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.5866, allocations: 16.89 kB / 0.8209 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.5867, allocations: 31.52 kB / 0.821 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.5869, allocations: 150.7 kB / 0.8211 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5869, allocations: 3.938 kB / 0.8211 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.587, allocations: 1.219 kB / 0.8211 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.587, allocations: 0 / 0.8211 GB, free: 5.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005169/0.5875, allocations: 412 kB / 0.8215 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5875, allocations: 9.938 kB / 0.8215 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.5876, allocations: 13.06 kB / 0.8215 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.5878, allocations: 189.4 kB / 0.8217 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.5878, allocations: 2.562 kB / 0.8217 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.5878, allocations: 2.5 kB / 0.8217 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.588, allocations: 72.38 kB / 0.8218 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.588, allocations: 1 kB / 0.8218 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.5881, allocations: 0 / 0.8218 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5881, allocations: 1.312 kB / 0.8218 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.5882, allocations: 44.86 kB / 0.8218 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.5886, allocations: 306.4 kB / 0.8221 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.5888, allocations: 52.66 kB / 0.8222 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.5888, allocations: 26.52 kB / 0.8222 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.5889, allocations: 1 kB / 0.8222 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.5889, allocations: 36.11 kB / 0.8222 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5889, allocations: 0.5938 kB / 0.8222 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003679/0.5893, allocations: 112.3 kB / 0.8223 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.5893, allocations: 53.27 kB / 0.8224 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.5894, allocations: 128.3 kB / 0.8225 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.5894, allocations: 29.7 kB / 0.8225 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.5894, allocations: 93.56 kB / 0.8226 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5894, allocations: 11.83 kB / 0.8226 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.5895, allocations: 19.5 kB / 0.8226 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.5895, allocations: 328.5 kB / 0.823 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.5896, allocations: 20.36 kB / 0.823 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.5897, allocations: 29.03 kB / 0.823 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.5898, allocations: 53.97 kB / 0.8231 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5898, allocations: 0 / 0.8231 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001995/0.59, allocations: 96.42 kB / 0.8232 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.59, allocations: 7.734 kB / 0.8232 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5901, allocations: 0 / 0.8232 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5901, allocations: 3.688 kB / 0.8232 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.5902, allocations: 13.78 kB / 0.8232 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5902, allocations: 0 / 0.8232 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.5903, allocations: 13.02 kB / 0.8232 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5903, allocations: 4.5 kB / 0.8232 GB, free: 3.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 5.377e-05/0.5903, allocations: 121.5 kB / 0.8233 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.5904, allocations: 13.72 kB / 0.8233 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.5906, allocations: 103.9 kB / 0.8234 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5906, allocations: 0 / 0.8234 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5906, allocations: 0 / 0.8234 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5906, allocations: 0.5156 kB / 0.8234 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.5908, allocations: 188.8 kB / 0.8236 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5908, allocations: 0 / 0.8236 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.5908, allocations: 13.55 kB / 0.8236 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5908, allocations: 0.7031 kB / 0.8236 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.5909, allocations: 6.875 kB / 0.8236 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5909, allocations: 0.6094 kB / 0.8236 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5909, allocations: 4 kB / 0.8236 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.5911, allocations: 192.4 kB / 0.8238 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.5911, allocations: 81.77 kB / 0.8239 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.5911, allocations: 7.234 kB / 0.8239 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.5912, allocations: 8.453 kB / 0.8239 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.5912, allocations: 4.5 kB / 0.8239 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.5913, allocations: 3.234 kB / 0.8239 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.5913, allocations: 103.7 kB / 0.824 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5913, allocations: 0 / 0.824 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002389/0.5915, allocations: 20.86 kB / 0.824 GB, free: 2.754 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001535/0.5917, allocations: 111.5 kB / 0.8241 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.5919, allocations: 58.64 kB / 0.8242 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5919, allocations: 3.938 kB / 0.8242 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.592, allocations: 31.08 kB / 0.8242 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.5923, allocations: 9.031 kB / 0.8242 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.5926, allocations: 221.5 kB / 0.8244 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.5927, allocations: 0.6958 MB / 0.8251 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.5928, allocations: 18.12 kB / 0.8251 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5928, allocations: 0 / 0.8251 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of Templates: time 0.003048/0.5958, allocations: 1.125 MB / 0.8262 GB, free: 1.648 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.696022757096216] Failed to read output from testmodel.py, exit status != 0: 0.6032186390366405 0.615743401 0.025762676 Calling exit ...