Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001037, allocations: 107.4 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6559/0.6559, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 69.28 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1189, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002392/0.1213, allocations: 1.559 MB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1226, allocations: 0.9124 MB / 0.6345 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.1227, allocations: 3.938 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.1227, allocations: 7.938 kB / 0.6345 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1229, allocations: 23.78 kB / 0.6345 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1232, allocations: 147.5 kB / 0.6347 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1233, allocations: 75.77 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.1234, allocations: 8 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.1235, allocations: 43.78 kB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1236, allocations: 35.84 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1237, allocations: 7.938 kB / 0.6348 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.124, allocations: 283.6 kB / 0.6351 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.124, allocations: 15.92 kB / 0.6351 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1241, allocations: 23.88 kB / 0.6351 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1243, allocations: 159.5 kB / 0.6353 GB, free: 1.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1243, allocations: 0 / 0.6353 GB, free: 1.055 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1243, allocations: 4 kB / 0.6353 GB, free: 1.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1243, allocations: 0 / 0.6353 GB, free: 1.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005037/0.1248, allocations: 403.1 kB / 0.6357 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1249, allocations: 8.031 kB / 0.6357 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.125, allocations: 16.83 kB / 0.6357 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1252, allocations: 193.5 kB / 0.6359 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.1252, allocations: 4.375 kB / 0.6359 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1252, allocations: 4.375 kB / 0.6359 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1254, allocations: 65.97 kB / 0.636 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1254, allocations: 0 / 0.636 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1254, allocations: 4 kB / 0.636 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1254, allocations: 0 / 0.636 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1256, allocations: 39.97 kB / 0.636 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.126, allocations: 304.7 kB / 0.6363 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1261, allocations: 50.56 kB / 0.6363 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.1262, allocations: 28.97 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1262, allocations: 4.062 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1262, allocations: 38.55 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1262, allocations: 4 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000325/0.1266, allocations: 105.5 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1266, allocations: 51.41 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.1267, allocations: 131.9 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1267, allocations: 25.7 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.1268, allocations: 100.1 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1268, allocations: 19.75 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.1268, allocations: 17.72 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.1269, allocations: 322.8 kB / 0.6372 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.127, allocations: 19.98 kB / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.1271, allocations: 23.98 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1272, allocations: 56.77 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1272, allocations: 4 kB / 0.6373 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002066/0.1275, allocations: 93.5 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1275, allocations: 8 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1275, allocations: 448 / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1275, allocations: 0 / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1276, allocations: 15.98 kB / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1276, allocations: 3.938 kB / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.1277, allocations: 8 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1277, allocations: 7.984 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB 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 7.687e-05/0.1278, allocations: 117.8 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1278, allocations: 7.906 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.1281, allocations: 101.9 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1281, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1281, allocations: 4 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1281, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1283, allocations: 185.5 kB / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1283, allocations: 4 kB / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.1284, allocations: 15.98 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1284, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1284, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1284, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1284, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1287, allocations: 199.3 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.1287, allocations: 85.03 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1287, allocations: 4 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.1288, allocations: 3.984 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.1289, allocations: 8 kB / 0.6381 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1289, allocations: 0 / 0.6381 GB, free: 13.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.1289, allocations: 108.9 kB / 0.6382 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 0 / 0.6382 GB, free: 13.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1292, allocations: 20 kB / 0.6382 GB, free: 13.74 MB / 494.1 MB 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.0001558/0.1293, allocations: 115.2 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1295, allocations: 63.95 kB / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1295, allocations: 0 / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.1296, allocations: 32.05 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1299, allocations: 12 kB / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.1302, allocations: 192.3 kB / 0.6386 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1305, allocations: 0.6922 MB / 0.6393 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.086e-05/0.1305, allocations: 4 kB / 0.6393 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1306, allocations: 11.44 kB / 0.6393 GB, free: 12.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1306, allocations: 4 kB / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of Templates: time 0.003079/0.1336, allocations: 1.088 MB / 0.6404 GB, free: 11.48 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)