Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001276/0.001276, allocations: 117.7 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.001284/0.001284, 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.652 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.00239/0.00239, allocations: 284.6 kB / 303.6 MB, free: 3.715 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.075/1.075, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 103.8 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5899, allocations: 94.15 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005174/0.5951, allocations: 4.57 MB / 0.8223 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.5961, allocations: 0.8319 MB / 0.8231 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.5961, allocations: 5.094 kB / 0.8231 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.5963, allocations: 33.16 kB / 0.8232 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.5964, allocations: 28.39 kB / 0.8232 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.5969, allocations: 176.3 kB / 0.8234 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.5971, allocations: 181.2 kB / 0.8235 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.5972, allocations: 12.16 kB / 0.8236 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.5973, allocations: 79.94 kB / 0.8236 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.5974, allocations: 76.92 kB / 0.8237 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.5975, allocations: 13.12 kB / 0.8237 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.5978, allocations: 157.7 kB / 0.8239 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.5978, allocations: 33.86 kB / 0.8239 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.5979, allocations: 68.33 kB / 0.824 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.5983, allocations: 238.8 kB / 0.8242 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5983, allocations: 0 / 0.8242 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5983, allocations: 0 / 0.8242 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5983, allocations: 0 / 0.8242 GB, free: 3.094 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007643/0.599, allocations: 481.2 kB / 0.8247 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5991, allocations: 12.62 kB / 0.8247 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.5991, allocations: 12.77 kB / 0.8247 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.5992, allocations: 185.8 kB / 0.8249 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5992, allocations: 12.8 kB / 0.8249 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.5992, allocations: 13.47 kB / 0.8249 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.5995, allocations: 120.5 kB / 0.825 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5995, allocations: 2.594 kB / 0.825 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5996, allocations: 4 kB / 0.825 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.5996, allocations: 6.859 kB / 0.825 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.6, allocations: 146.4 kB / 0.8251 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.6009, allocations: 465 kB / 0.8256 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.6011, allocations: 120 kB / 0.8257 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.6013, allocations: 63.36 kB / 0.8258 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.6025, allocations: 0.9644 MB / 0.8267 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.6025, allocations: 35.27 kB / 0.8267 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6025, allocations: 0 / 0.8267 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0006582/0.6031, allocations: 222.1 kB / 0.827 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.6032, allocations: 51.41 kB / 0.827 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.6033, allocations: 162.8 kB / 0.8272 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.6033, allocations: 32.89 kB / 0.8272 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.6034, allocations: 108 kB / 0.8273 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.6034, allocations: 42.97 kB / 0.8273 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.6035, allocations: 55.23 kB / 0.8274 GB, free: 472 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.6035, allocations: 324.2 kB / 0.8277 GB, free: 144 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.6037, allocations: 77.91 kB / 0.8278 GB, free: 124 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.6039, allocations: 105.6 kB / 0.8279 GB, free: 68 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.6044, allocations: 175.2 kB / 0.828 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6044, allocations: 2.531 kB / 0.828 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005868/0.605, allocations: 240.9 kB / 0.8283 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.605, allocations: 6.875 kB / 0.8283 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.605, allocations: 0 / 0.8283 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.605, allocations: 7.781 kB / 0.8283 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.6053, allocations: 53.52 kB / 0.8283 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6053, allocations: 3.234 kB / 0.8283 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.6054, allocations: 38.47 kB / 0.8284 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.6054, allocations: 13.05 kB / 0.8284 GB, free: 15.85 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 0.0001165/0.6056, allocations: 124.6 kB / 0.8285 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.6056, allocations: 16.12 kB / 0.8285 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.6061, allocations: 170.4 kB / 0.8287 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.6061, allocations: 6.906 kB / 0.8287 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6061, allocations: 0.7031 kB / 0.8287 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6061, allocations: 4.656 kB / 0.8287 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.6064, allocations: 209.9 kB / 0.8289 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6064, allocations: 1.188 kB / 0.8289 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.6065, allocations: 33.06 kB / 0.8289 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6065, allocations: 0.6094 kB / 0.8289 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6065, allocations: 11.03 kB / 0.8289 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6065, allocations: 0.8906 kB / 0.8289 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6065, allocations: 0 / 0.8289 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.607, allocations: 256.5 kB / 0.8292 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.6071, allocations: 103.5 kB / 0.8293 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.6071, allocations: 4.734 kB / 0.8293 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.6073, allocations: 18.77 kB / 0.8293 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.6073, allocations: 11.03 kB / 0.8293 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.6073, allocations: 4 kB / 0.8293 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.241e-05/0.6074, allocations: 114.2 kB / 0.8294 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6074, allocations: 0 / 0.8294 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003739/0.6078, allocations: 62.06 kB / 0.8295 GB, free: 15.02 MB / 0.5919 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 (12): * Single equations (assignments): 12 * 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.0003018/0.6081, allocations: 167.8 kB / 0.8296 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005174/0.6086, allocations: 154.9 kB / 0.8298 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6086, allocations: 4.188 kB / 0.8298 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.6088, allocations: 64.84 kB / 0.8299 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.6092, allocations: 24.44 kB / 0.8299 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.6097, allocations: 278.5 kB / 0.8301 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.61, allocations: 0.7098 MB / 0.8308 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.6101, allocations: 15.36 kB / 0.8309 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6101, allocations: 0 / 0.8309 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.005306/0.6154, allocations: 2.582 MB / 0.8334 GB, free: 13.59 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.935751834884286] Failed to read output from testmodel.py, exit status != 0: 0.6232555429451168 0.6374058 0.036035608000000004 Calling exit ...