Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 182.2 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.7352/0.7352, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.342/1.342, allocations: 222.9 MB / 403.4 MB, free: 7.09 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.001025/0.001025, allocations: 107 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009815/0.0009815, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1398, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005637/0.1455, allocations: 4.577 MB / 0.6447 GB, free: 2.152 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.1465, allocations: 0.8304 MB / 0.6455 GB, free: 1.316 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.1465, allocations: 0 / 0.6455 GB, free: 1.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1467, allocations: 19.91 kB / 0.6455 GB, free: 1.297 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.1468, allocations: 31.7 kB / 0.6455 GB, free: 1.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1472, allocations: 147.5 kB / 0.6457 GB, free: 1.121 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1474, allocations: 171.4 kB / 0.6458 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.1475, allocations: 13.11 kB / 0.6458 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1476, allocations: 75.75 kB / 0.6459 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.1477, allocations: 71.73 kB / 0.646 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1477, allocations: 12 kB / 0.646 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.148, allocations: 147.7 kB / 0.6461 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.1481, allocations: 27.84 kB / 0.6461 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.1481, allocations: 59.7 kB / 0.6462 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1485, allocations: 235.6 kB / 0.6464 GB, free: 332 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1485, allocations: 0 / 0.6464 GB, free: 332 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1485, allocations: 0 / 0.6464 GB, free: 332 kB / 442.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1485, allocations: 0 / 0.6464 GB, free: 332 kB / 442.7 MB 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.001005/0.1495, allocations: 476.7 kB / 0.6469 GB, free: 15.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1496, allocations: 8.031 kB / 0.6469 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1496, allocations: 16.75 kB / 0.6469 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1498, allocations: 188.1 kB / 0.6471 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1498, allocations: 8.375 kB / 0.6471 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1498, allocations: 15.94 kB / 0.6471 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1501, allocations: 122.2 kB / 0.6472 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1502, allocations: 0 / 0.6472 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1502, allocations: 4 kB / 0.6472 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1502, allocations: 0 / 0.6472 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.1506, allocations: 140.9 kB / 0.6474 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.1515, allocations: 476.3 kB / 0.6478 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1518, allocations: 126.5 kB / 0.6479 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.152, allocations: 72.8 kB / 0.648 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.1534, allocations: 0.9568 MB / 0.6489 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1534, allocations: 46.44 kB / 0.649 GB, free: 13.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.1534, allocations: 3.938 kB / 0.649 GB, free: 13.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006671/0.1541, allocations: 213.3 kB / 0.6492 GB, free: 13.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1541, allocations: 51.41 kB / 0.6492 GB, free: 13.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1543, allocations: 167.3 kB / 0.6494 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1543, allocations: 29.7 kB / 0.6494 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.1544, allocations: 108.4 kB / 0.6495 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1544, allocations: 43.36 kB / 0.6496 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.1545, allocations: 49.7 kB / 0.6496 GB, free: 12.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1547, allocations: 322.8 kB / 0.6499 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1549, allocations: 83.94 kB / 0.65 GB, free: 12.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.1552, allocations: 104 kB / 0.6501 GB, free: 12.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.1556, allocations: 175.2 kB / 0.6503 GB, free: 12.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1556, allocations: 0 / 0.6503 GB, free: 12.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005459/0.1562, allocations: 241.2 kB / 0.6505 GB, free: 11.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1562, allocations: 12.03 kB / 0.6505 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1562, allocations: 7.984 kB / 0.6505 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1562, allocations: 0 / 0.6505 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.1565, allocations: 51.91 kB / 0.6506 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1565, allocations: 4 kB / 0.6506 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.1567, allocations: 31.67 kB / 0.6506 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.1567, allocations: 15.98 kB / 0.6506 GB, free: 11.64 MB / 458.7 MB 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 9.523e-05/0.1568, allocations: 127.1 kB / 0.6507 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1569, allocations: 15.84 kB / 0.6508 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.1573, allocations: 175.3 kB / 0.6509 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1573, allocations: 4 kB / 0.6509 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1574, allocations: 0 / 0.6509 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1574, allocations: 0 / 0.6509 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1576, allocations: 217.5 kB / 0.6511 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1576, allocations: 0 / 0.6511 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1577, allocations: 27.97 kB / 0.6512 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1577, allocations: 11.88 kB / 0.6512 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1578, allocations: 4 kB / 0.6512 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1578, allocations: 0 / 0.6512 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1578, allocations: 0 / 0.6512 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.1586, allocations: 0.8798 MB / 0.652 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.1587, allocations: 96.98 kB / 0.6521 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1587, allocations: 4 kB / 0.6521 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1589, allocations: 15.92 kB / 0.6522 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1589, allocations: 11.98 kB / 0.6522 GB, free: 9.934 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.1589, allocations: 4 kB / 0.6522 GB, free: 9.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.159, allocations: 116 kB / 0.6523 GB, free: 9.816 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.159, allocations: 0 / 0.6523 GB, free: 9.816 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.1595, allocations: 64.3 kB / 0.6523 GB, free: 9.754 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 (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.0002606/0.1597, allocations: 163.1 kB / 0.6525 GB, free: 9.586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.1602, allocations: 171.6 kB / 0.6527 GB, free: 9.418 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1602, allocations: 4.125 kB / 0.6527 GB, free: 9.414 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1604, allocations: 71.95 kB / 0.6527 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1608, allocations: 15.98 kB / 0.6527 GB, free: 9.328 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.1613, allocations: 429.6 kB / 0.6532 GB, free: 8.871 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1616, allocations: 0.7087 MB / 0.6539 GB, free: 8.137 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.624e-05/0.1617, allocations: 13.08 kB / 0.6539 GB, free: 8.125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.1617, allocations: 19.44 kB / 0.6539 GB, free: 8.105 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1617, allocations: 0 / 0.6539 GB, free: 8.105 MB / 458.7 MB Notification: Performance of Templates: time 0.005181/0.1669, allocations: 2.604 MB / 0.6564 GB, free: 5.527 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)