Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005289/0.005289, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001259/0.001259, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 275 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 92.14 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1572, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005007/0.1623, allocations: 4.54 MB / 0.7708 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.1632, allocations: 0.8108 MB / 0.7716 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1633, allocations: 8 kB / 0.7716 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1635, allocations: 27.77 kB / 0.7717 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.1635, allocations: 31.7 kB / 0.7717 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.164, allocations: 175.3 kB / 0.7718 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1641, allocations: 175.4 kB / 0.772 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.1642, allocations: 21.09 kB / 0.772 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1644, allocations: 79.7 kB / 0.7721 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1645, allocations: 83.66 kB / 0.7722 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1645, allocations: 12 kB / 0.7722 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1649, allocations: 151.8 kB / 0.7723 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.1649, allocations: 39.89 kB / 0.7724 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.165, allocations: 59.73 kB / 0.7724 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.1653, allocations: 239.2 kB / 0.7727 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1653, allocations: 0 / 0.7727 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1653, allocations: 0 / 0.7727 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1653, allocations: 0 / 0.7727 GB, free: 1.953 MB / 0.5606 GB 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.000822/0.1662, allocations: 494.8 kB / 0.7731 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1662, allocations: 8.031 kB / 0.7732 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1663, allocations: 16.75 kB / 0.7732 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1664, allocations: 178.2 kB / 0.7733 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1664, allocations: 8.375 kB / 0.7733 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1664, allocations: 12.38 kB / 0.7734 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1668, allocations: 121.7 kB / 0.7735 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1668, allocations: 4 kB / 0.7735 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1668, allocations: 3.984 kB / 0.7735 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1668, allocations: 4 kB / 0.7735 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.1672, allocations: 143.9 kB / 0.7736 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.1681, allocations: 468.4 kB / 0.7741 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1684, allocations: 126.5 kB / 0.7742 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.1686, allocations: 74.94 kB / 0.7743 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.307/0.4757, allocations: 0.9516 MB / 0.7752 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4757, allocations: 36.31 kB / 0.7752 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.4757, allocations: 0.625 kB / 0.7752 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007213/0.4765, allocations: 211.9 kB / 0.7754 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4765, allocations: 60.17 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.4766, allocations: 160.2 kB / 0.7756 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.4767, allocations: 29.52 kB / 0.7757 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.4767, allocations: 106.2 kB / 0.7758 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.4768, allocations: 39.81 kB / 0.7758 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.4768, allocations: 50.27 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.4769, allocations: 327.9 kB / 0.7762 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.4771, allocations: 76.84 kB / 0.7762 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.4774, allocations: 112.7 kB / 0.7763 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.4778, allocations: 175.2 kB / 0.7765 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4779, allocations: 3.969 kB / 0.7765 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005418/0.4784, allocations: 243.9 kB / 0.7768 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4784, allocations: 6.578 kB / 0.7768 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4784, allocations: 1.781 kB / 0.7768 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4785, allocations: 2.5 kB / 0.7768 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.4787, allocations: 59.02 kB / 0.7768 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4787, allocations: 2.547 kB / 0.7768 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4789, allocations: 40.48 kB / 0.7769 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.4789, allocations: 7.172 kB / 0.7769 GB, free: 14.05 MB / 0.5606 GB 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 6.479e-05/0.479, allocations: 124.1 kB / 0.777 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.479, allocations: 8.688 kB / 0.777 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.4795, allocations: 179.7 kB / 0.7772 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4795, allocations: 5.078 kB / 0.7772 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4795, allocations: 0 / 0.7772 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4795, allocations: 5.797 kB / 0.7772 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.4797, allocations: 219 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4797, allocations: 0 / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4799, allocations: 32.44 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4799, allocations: 1.312 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.4799, allocations: 1.969 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4799, allocations: 1.562 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4799, allocations: 1.031 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.4803, allocations: 260.7 kB / 0.7777 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.4804, allocations: 97.8 kB / 0.7778 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.4804, allocations: 6.656 kB / 0.7778 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.4806, allocations: 13.56 kB / 0.7778 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.4806, allocations: 15.31 kB / 0.7778 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4806, allocations: 3.031 kB / 0.7778 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.4807, allocations: 119 kB / 0.7779 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4807, allocations: 3.812 kB / 0.7779 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003451/0.4811, allocations: 67.27 kB / 0.778 GB, free: 13.38 MB / 0.5606 GB 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.0002627/0.4813, allocations: 155.6 kB / 0.7781 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005487/0.4819, allocations: 172.2 kB / 0.7783 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4819, allocations: 1 kB / 0.7783 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.4821, allocations: 69.84 kB / 0.7784 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.4825, allocations: 23.67 kB / 0.7784 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.4829, allocations: 252.8 kB / 0.7786 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.483, allocations: 0.7072 MB / 0.7793 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.462e-05/0.4831, allocations: 15.55 kB / 0.7793 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.4831, allocations: 21.34 kB / 0.7793 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4831, allocations: 0 / 0.7793 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.005615/0.4888, allocations: 2.804 MB / 0.7821 GB, free: 12.2 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)