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.004915/0.004915, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001129/0.001129, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 271.1 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 99.84 kB / 0.6815 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1782, allocations: 86.97 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005507/0.1837, allocations: 4.546 MB / 0.7708 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1848, allocations: 0.8224 MB / 0.7716 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1848, allocations: 4 kB / 0.7716 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.185, allocations: 23.78 kB / 0.7717 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.1851, allocations: 39.69 kB / 0.7717 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1855, allocations: 171.4 kB / 0.7719 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1857, allocations: 175.4 kB / 0.772 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.1858, allocations: 17.12 kB / 0.772 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.186, allocations: 83.73 kB / 0.7721 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1861, allocations: 75.69 kB / 0.7722 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.1861, allocations: 12 kB / 0.7722 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.1864, allocations: 159.7 kB / 0.7724 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.1865, allocations: 31.91 kB / 0.7724 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.1865, allocations: 67.7 kB / 0.7725 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1869, allocations: 235.3 kB / 0.7727 GB, free: 2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1869, allocations: 0 / 0.7727 GB, free: 2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1869, allocations: 0 / 0.7727 GB, free: 2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1869, allocations: 0 / 0.7727 GB, free: 2 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.0007999/0.1877, allocations: 490.8 kB / 0.7731 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1877, allocations: 8.031 kB / 0.7732 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1878, allocations: 16.75 kB / 0.7732 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1879, allocations: 181.4 kB / 0.7733 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1879, allocations: 12.38 kB / 0.7734 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.188, allocations: 12.38 kB / 0.7734 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1883, allocations: 117.8 kB / 0.7735 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1883, allocations: 0 / 0.7735 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1883, allocations: 4 kB / 0.7735 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1883, allocations: 4 kB / 0.7735 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1887, allocations: 143.9 kB / 0.7736 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.1897, allocations: 460.4 kB / 0.7741 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.19, allocations: 130.5 kB / 0.7742 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1902, allocations: 68.81 kB / 0.7743 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3509/0.541, allocations: 0.9555 MB / 0.7752 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.5411, allocations: 33.81 kB / 0.7752 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.5411, allocations: 0 / 0.7752 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007892/0.5419, allocations: 215.7 kB / 0.7754 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.542, allocations: 57.47 kB / 0.7755 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5421, allocations: 165.2 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.5422, allocations: 32.31 kB / 0.7757 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.5422, allocations: 103.2 kB / 0.7758 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.5423, allocations: 45.52 kB / 0.7758 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.5424, allocations: 50.36 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.5424, allocations: 326 kB / 0.7762 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.5427, allocations: 79.17 kB / 0.7762 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.543, allocations: 113.2 kB / 0.7764 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.5434, allocations: 176.2 kB / 0.7765 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5434, allocations: 1.156 kB / 0.7765 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005239/0.5439, allocations: 247.4 kB / 0.7768 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.544, allocations: 6.656 kB / 0.7768 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.544, allocations: 1.062 kB / 0.7768 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.544, allocations: 2.812 kB / 0.7768 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.5442, allocations: 53.45 kB / 0.7768 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5443, allocations: 3.062 kB / 0.7768 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.5444, allocations: 40.27 kB / 0.7769 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.5444, allocations: 7.359 kB / 0.7769 GB, free: 14.11 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.864e-05/0.5445, allocations: 126.5 kB / 0.777 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.5446, allocations: 13.09 kB / 0.777 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.545, allocations: 183 kB / 0.7772 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.545, allocations: 2.047 kB / 0.7772 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.545, allocations: 0.9375 kB / 0.7772 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.545, allocations: 4.688 kB / 0.7772 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.5452, allocations: 217.6 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5453, allocations: 1.75 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.5454, allocations: 30.23 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.5454, allocations: 1.5 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5454, allocations: 3 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5454, allocations: 1.031 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5455, allocations: 0.75 kB / 0.7774 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.5459, allocations: 257 kB / 0.7777 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.546, allocations: 105.4 kB / 0.7778 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.546, allocations: 0.5312 kB / 0.7778 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5461, allocations: 18.8 kB / 0.7778 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.5462, allocations: 16.08 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.5462, allocations: 7.375 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.924e-05/0.5463, allocations: 117.8 kB / 0.7779 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5463, allocations: 2.828 kB / 0.7779 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003457/0.5466, allocations: 66.58 kB / 0.778 GB, free: 13.43 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.0002476/0.5469, allocations: 145.9 kB / 0.7781 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.5474, allocations: 170.7 kB / 0.7783 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5474, allocations: 2.938 kB / 0.7783 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.5476, allocations: 66.69 kB / 0.7784 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.548, allocations: 24.67 kB / 0.7784 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.5484, allocations: 260.1 kB / 0.7786 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.5485, allocations: 0.7032 MB / 0.7793 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.833e-05/0.5486, allocations: 26.48 kB / 0.7793 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.5487, allocations: 16.14 kB / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5487, allocations: 0 / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.005753/0.5544, allocations: 2.755 MB / 0.782 GB, free: 12.26 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)