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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 101.3 kB / 16.4 MB, free: 6.492 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.001529/0.001529, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6965/0.6965, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 65.92 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 76.17 MB / 0.6316 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003101/0.1636, allocations: 1.579 MB / 0.6331 GB, free: 3.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1652, allocations: 0.9084 MB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1653, allocations: 0 / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.1655, allocations: 7.938 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1657, allocations: 19.78 kB / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.1661, allocations: 147.5 kB / 0.6342 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1663, allocations: 71.72 kB / 0.6342 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1664, allocations: 15.98 kB / 0.6343 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1665, allocations: 31.84 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1667, allocations: 43.78 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1667, allocations: 4 kB / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.1671, allocations: 287.6 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.1672, allocations: 11.94 kB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1672, allocations: 31.84 kB / 0.6347 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1675, allocations: 154.4 kB / 0.6348 GB, free: 1.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1675, allocations: 0 / 0.6348 GB, free: 1.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1675, allocations: 0 / 0.6348 GB, free: 1.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1675, allocations: 4 kB / 0.6348 GB, free: 1.637 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.0006504/0.1682, allocations: 400 kB / 0.6352 GB, free: 1.199 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1682, allocations: 16.03 kB / 0.6352 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1683, allocations: 34.75 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1684, allocations: 16.83 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1687, allocations: 184.2 kB / 0.6354 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1687, allocations: 384 / 0.6354 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1687, allocations: 4.375 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1689, allocations: 73.7 kB / 0.6355 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1689, allocations: 0 / 0.6355 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.169, allocations: 7.938 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.169, allocations: 0 / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1691, allocations: 39.97 kB / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1696, allocations: 304.7 kB / 0.6358 GB, free: 440 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1697, allocations: 58.5 kB / 0.6359 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.1698, allocations: 28.97 kB / 0.6359 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1699, allocations: 0 / 0.6359 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1699, allocations: 34.55 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1699, allocations: 4 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.000363/0.1703, allocations: 101.6 kB / 0.6361 GB, free: 184 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1703, allocations: 55.41 kB / 0.6361 GB, free: 116 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1704, allocations: 132 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1705, allocations: 25.7 kB / 0.6363 GB, free: 15.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.1705, allocations: 100.1 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1705, allocations: 19.75 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1706, allocations: 21.7 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1707, allocations: 318.8 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.1708, allocations: 24.23 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.1709, allocations: 31.92 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.171, allocations: 48.83 kB / 0.6368 GB, free: 15.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.171, allocations: 0 / 0.6368 GB, free: 15.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002067/0.1712, allocations: 93.56 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1713, allocations: 8 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1713, allocations: 0 / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1713, allocations: 4 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1714, allocations: 19.92 kB / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1714, allocations: 0 / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.1715, allocations: 7.906 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1715, allocations: 3.984 kB / 0.6369 GB, free: 15.23 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 9.02e-05/0.1716, allocations: 117.8 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.1716, allocations: 4 kB / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1719, allocations: 102 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1719, allocations: 0 / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1719, allocations: 4 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1719, allocations: 0 / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1722, allocations: 189.4 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1722, allocations: 0 / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.1723, allocations: 16.23 kB / 0.6373 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1723, allocations: 0 / 0.6373 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1723, allocations: 4 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1723, allocations: 4 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1723, allocations: 0 / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1726, allocations: 195.3 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1727, allocations: 84.95 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1727, allocations: 0 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.1728, allocations: 7.984 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1729, allocations: 4 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1729, allocations: 8 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.173, allocations: 108.8 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.173, allocations: 0 / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1732, allocations: 20 kB / 0.6378 GB, free: 14.28 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.0005795/0.1738, allocations: 0.7359 MB / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.174, allocations: 59.89 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.174, allocations: 3.938 kB / 0.6385 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.1741, allocations: 27.98 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.1744, allocations: 8 kB / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1762, allocations: 1.462 MB / 0.64 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1766, allocations: 0.6903 MB / 0.6407 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.1767, allocations: 15.98 kB / 0.6407 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1767, allocations: 23.42 kB / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1767, allocations: 0 / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.1944, allocations: 2.321 MB / 0.643 GB, free: 8.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.607, allocations: 17.34 kB / 0.643 GB, free: 8.91 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)