Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001608/0.001608, allocations: 183 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-master/package.mo): time 0.7716/0.7716, allocations: 133.3 MB / 150.1 MB, free: 11.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.377/1.377, allocations: 222.9 MB / 404.7 MB, free: 6.055 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.001026/0.001026, allocations: 110.1 kB / 485.9 MB, free: 7.191 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008442/0.1672, allocations: 4.573 MB / 0.6466 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1687, allocations: 0.8382 MB / 0.6474 GB, free: 0 / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1688, allocations: 0 / 0.6474 GB, free: 0 / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1691, allocations: 23.94 kB / 0.6475 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1692, allocations: 23.78 kB / 0.6475 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.1699, allocations: 151.5 kB / 0.6476 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.1702, allocations: 171.3 kB / 0.6478 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.1703, allocations: 17.06 kB / 0.6478 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.1705, allocations: 71.75 kB / 0.6479 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1707, allocations: 71.73 kB / 0.6479 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.1707, allocations: 8 kB / 0.6479 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.1712, allocations: 147.7 kB / 0.6481 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.1713, allocations: 27.84 kB / 0.6481 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1714, allocations: 63.7 kB / 0.6482 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.1719, allocations: 239.5 kB / 0.6484 GB, free: 15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1719, allocations: 0 / 0.6484 GB, free: 15 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1719, allocations: 4 kB / 0.6484 GB, free: 15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1719, allocations: 0 / 0.6484 GB, free: 15 MB / 458.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.001133/0.1731, allocations: 471 kB / 0.6489 GB, free: 14.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1731, allocations: 15.97 kB / 0.6489 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.1732, allocations: 12.75 kB / 0.6489 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.1734, allocations: 180.2 kB / 0.6491 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1734, allocations: 8.375 kB / 0.6491 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1735, allocations: 15.94 kB / 0.6491 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.1739, allocations: 119.2 kB / 0.6492 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1739, allocations: 0 / 0.6492 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.174, allocations: 0 / 0.6492 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.174, allocations: 4 kB / 0.6492 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.1746, allocations: 147.8 kB / 0.6493 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.1759, allocations: 472.3 kB / 0.6498 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.1763, allocations: 127.5 kB / 0.6499 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.1766, allocations: 68.81 kB / 0.65 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/0.1785, allocations: 0.9645 MB / 0.6509 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1785, allocations: 38.5 kB / 0.6509 GB, free: 12.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.1786, allocations: 0 / 0.6509 GB, free: 12.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009691/0.1795, allocations: 213.3 kB / 0.6512 GB, free: 11.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1796, allocations: 51.41 kB / 0.6512 GB, free: 11.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1798, allocations: 172.7 kB / 0.6514 GB, free: 11.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1798, allocations: 25.7 kB / 0.6514 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.1799, allocations: 104.4 kB / 0.6515 GB, free: 11.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.18, allocations: 47.34 kB / 0.6515 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1801, allocations: 49.69 kB / 0.6516 GB, free: 11.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1802, allocations: 326.8 kB / 0.6519 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1806, allocations: 79.89 kB / 0.652 GB, free: 10.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.181, allocations: 108.7 kB / 0.6521 GB, free: 10.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.1816, allocations: 175.6 kB / 0.6522 GB, free: 10.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1816, allocations: 0 / 0.6522 GB, free: 10.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008411/0.1825, allocations: 245.3 kB / 0.6525 GB, free: 10.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1825, allocations: 11.94 kB / 0.6525 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1825, allocations: 0 / 0.6525 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1825, allocations: 0 / 0.6525 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.1829, allocations: 55.91 kB / 0.6525 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.183, allocations: 7.969 kB / 0.6525 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.1832, allocations: 35.67 kB / 0.6526 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.1833, allocations: 12.09 kB / 0.6526 GB, free: 10.33 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 0.0001231/0.1834, allocations: 125.8 kB / 0.6527 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.1835, allocations: 15.78 kB / 0.6527 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006702/0.1842, allocations: 183.2 kB / 0.6529 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1842, allocations: 4 kB / 0.6529 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1842, allocations: 0 / 0.6529 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1842, allocations: 0 / 0.6529 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.1845, allocations: 209.5 kB / 0.6531 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1845, allocations: 3.984 kB / 0.6531 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.1848, allocations: 31.92 kB / 0.6531 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1848, allocations: 3.938 kB / 0.6531 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1848, allocations: 4 kB / 0.6531 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1848, allocations: 0 / 0.6531 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1848, allocations: 4 kB / 0.6532 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.186, allocations: 0.8759 MB / 0.654 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.1861, allocations: 101 kB / 0.6541 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.1862, allocations: 4 kB / 0.6541 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.1864, allocations: 11.98 kB / 0.6541 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1865, allocations: 7.984 kB / 0.6541 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1865, allocations: 4 kB / 0.6541 GB, free: 8.617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1866, allocations: 116 kB / 0.6542 GB, free: 8.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1866, allocations: 0 / 0.6542 GB, free: 8.504 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007533/0.1874, allocations: 64.3 kB / 0.6543 GB, free: 8.441 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.0003467/0.1877, allocations: 159.1 kB / 0.6545 GB, free: 8.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006991/0.1884, allocations: 175.6 kB / 0.6546 GB, free: 8.105 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1884, allocations: 0 / 0.6546 GB, free: 8.105 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.1887, allocations: 67.95 kB / 0.6547 GB, free: 8.039 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.1893, allocations: 15.98 kB / 0.6547 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.19, allocations: 433.8 kB / 0.6551 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1904, allocations: 0.7087 MB / 0.6558 GB, free: 6.824 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000168/0.1905, allocations: 26.19 kB / 0.6558 GB, free: 6.801 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.1906, allocations: 15.44 kB / 0.6558 GB, free: 6.785 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1906, allocations: 0 / 0.6558 GB, free: 6.785 MB / 458.7 MB Notification: Performance of Templates: time 0.007779/0.1984, allocations: 2.607 MB / 0.6584 GB, free: 4.207 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)