Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7099/0.7099, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 117.1 kB / 484.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 55.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.149, allocations: 80.21 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00286/0.152, allocations: 1.624 MB / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1535, allocations: 0.9359 MB / 0.6427 GB, free: 4.176 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.1536, allocations: 3.938 kB / 0.6427 GB, free: 4.172 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.1536, allocations: 3.938 kB / 0.6427 GB, free: 4.168 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1539, allocations: 23.84 kB / 0.6427 GB, free: 4.145 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1542, allocations: 95.81 kB / 0.6428 GB, free: 4.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1543, allocations: 67.73 kB / 0.6429 GB, free: 3.984 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.1544, allocations: 15.92 kB / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.1545, allocations: 43.78 kB / 0.6429 GB, free: 3.926 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1546, allocations: 35.84 kB / 0.643 GB, free: 3.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1547, allocations: 4 kB / 0.643 GB, free: 3.887 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.155, allocations: 275.7 kB / 0.6432 GB, free: 3.617 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.1551, allocations: 11.92 kB / 0.6432 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.1551, allocations: 31.84 kB / 0.6433 GB, free: 3.574 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1554, allocations: 143.9 kB / 0.6434 GB, free: 3.434 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1554, allocations: 0 / 0.6434 GB, free: 3.434 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1554, allocations: 0 / 0.6434 GB, free: 3.434 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1554, allocations: 0 / 0.6434 GB, free: 3.434 MB / 442.7 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.0005758/0.156, allocations: 416.8 kB / 0.6438 GB, free: 2.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.156, allocations: 8.031 kB / 0.6438 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1561, allocations: 16.84 kB / 0.6438 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1563, allocations: 185.2 kB / 0.644 GB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1564, allocations: 8.375 kB / 0.644 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1564, allocations: 12.11 kB / 0.644 GB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1566, allocations: 65.61 kB / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1566, allocations: 0 / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1566, allocations: 0 / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1566, allocations: 0 / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1568, allocations: 39.97 kB / 0.6441 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1573, allocations: 304.8 kB / 0.6444 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1574, allocations: 54.5 kB / 0.6445 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.1575, allocations: 28.95 kB / 0.6445 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1575, allocations: 0 / 0.6445 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1576, allocations: 34.56 kB / 0.6445 GB, free: 2.125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1576, allocations: 0 / 0.6445 GB, free: 2.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003633/0.1579, allocations: 109.6 kB / 0.6446 GB, free: 2.012 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.158, allocations: 51.41 kB / 0.6447 GB, free: 1.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1581, allocations: 135.5 kB / 0.6448 GB, free: 1.809 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1581, allocations: 25.7 kB / 0.6448 GB, free: 1.777 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.1582, allocations: 100 kB / 0.6449 GB, free: 1.676 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1582, allocations: 19.75 kB / 0.6449 GB, free: 1.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1583, allocations: 21.7 kB / 0.645 GB, free: 1.629 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1584, allocations: 318.8 kB / 0.6453 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.1585, allocations: 19.98 kB / 0.6453 GB, free: 1.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.1585, allocations: 31.97 kB / 0.6453 GB, free: 1.258 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1587, allocations: 44.84 kB / 0.6454 GB, free: 1.211 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1587, allocations: 0 / 0.6454 GB, free: 1.211 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002282/0.1589, allocations: 93.56 kB / 0.6455 GB, free: 1.113 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.159, allocations: 8 kB / 0.6455 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.159, allocations: 3.938 kB / 0.6455 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.159, allocations: 0 / 0.6455 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1591, allocations: 19.92 kB / 0.6455 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1591, allocations: 3.938 kB / 0.6455 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1592, allocations: 12.42 kB / 0.6455 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1592, allocations: 3.938 kB / 0.6455 GB, free: 1.062 MB / 442.7 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 8.332e-05/0.1593, allocations: 119.2 kB / 0.6456 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.1594, allocations: 7.906 kB / 0.6456 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.1596, allocations: 97.95 kB / 0.6457 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1596, allocations: 0 / 0.6457 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1597, allocations: 7.938 kB / 0.6457 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1597, allocations: 0 / 0.6457 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1598, allocations: 185.6 kB / 0.6459 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1599, allocations: 0 / 0.6459 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.16, allocations: 19.98 kB / 0.6459 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.16, allocations: 0 / 0.6459 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.16, allocations: 0 / 0.6459 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.16, allocations: 0 / 0.6459 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.16, allocations: 0 / 0.6459 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.1606, allocations: 0.7706 MB / 0.6467 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.1606, allocations: 85.02 kB / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1606, allocations: 3.938 kB / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.1607, allocations: 11.98 kB / 0.6468 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1608, allocations: 4 kB / 0.6468 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.1608, allocations: 3.984 kB / 0.6468 GB, free: 15.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.1609, allocations: 100.5 kB / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1609, allocations: 0 / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000359/0.1613, allocations: 20 kB / 0.6469 GB, free: 15.5 MB / 458.7 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.0001933/0.1615, allocations: 119.3 kB / 0.647 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1617, allocations: 55.91 kB / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1617, allocations: 0 / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.1618, allocations: 27.98 kB / 0.6471 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1622, allocations: 11.98 kB / 0.6471 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.1627, allocations: 337.1 kB / 0.6474 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1629, allocations: 0.6926 MB / 0.6481 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.163, allocations: 11.94 kB / 0.6481 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.163, allocations: 15.42 kB / 0.6481 GB, free: 14.16 MB / 458.7 MB Notification: Performance of SimCode: time 4e-07/0.163, allocations: 0 / 0.6481 GB, free: 14.16 MB / 458.7 MB Notification: Performance of Templates: time 0.003344/0.1664, allocations: 1.023 MB / 0.6491 GB, free: 13.15 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)