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.001172/0.001172, allocations: 107 kB / 16.41 MB, free: 6.504 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.001144/0.001144, allocations: 187 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 294.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9546/0.9546, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002929/0.00293, allocations: 103.8 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4453, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006614/0.4519, allocations: 4.536 MB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4531, allocations: 0.8264 MB / 0.7723 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.4532, allocations: 0 / 0.7723 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.4534, allocations: 31.77 kB / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.4536, allocations: 31.72 kB / 0.7723 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.4542, allocations: 167.4 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4544, allocations: 187.3 kB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.4545, allocations: 13.12 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.4548, allocations: 79.75 kB / 0.7728 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4549, allocations: 75.73 kB / 0.7728 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.4549, allocations: 16 kB / 0.7729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.4553, allocations: 151.8 kB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.4553, allocations: 39.84 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.4554, allocations: 63.72 kB / 0.7731 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.4558, allocations: 241.5 kB / 0.7733 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4558, allocations: 0 / 0.7733 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4559, allocations: 3.938 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4559, allocations: 0 / 0.7733 GB, free: 13.44 MB / 0.545 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.0008938/0.4568, allocations: 482.9 kB / 0.7738 GB, free: 12.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4568, allocations: 12.03 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.4569, allocations: 8.844 kB / 0.7738 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.4571, allocations: 189.7 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.4571, allocations: 8.375 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.4571, allocations: 12.38 kB / 0.774 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.4575, allocations: 131.8 kB / 0.7741 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4575, allocations: 0 / 0.7741 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4575, allocations: 8 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4575, allocations: 0 / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.4579, allocations: 139.9 kB / 0.7743 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.4589, allocations: 468.4 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.4592, allocations: 126.5 kB / 0.7749 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4594, allocations: 68.75 kB / 0.7749 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.4607, allocations: 0.9648 MB / 0.7759 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4608, allocations: 38.56 kB / 0.7759 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.4608, allocations: 0 / 0.7759 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006833/0.4615, allocations: 209.3 kB / 0.7761 GB, free: 10.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.4615, allocations: 51.41 kB / 0.7761 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4617, allocations: 180.8 kB / 0.7763 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.4617, allocations: 29.7 kB / 0.7763 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.4618, allocations: 108.3 kB / 0.7765 GB, free: 9.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.4618, allocations: 31.47 kB / 0.7765 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.4619, allocations: 53.69 kB / 0.7765 GB, free: 9.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.462, allocations: 322.8 kB / 0.7768 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.4623, allocations: 71.95 kB / 0.7769 GB, free: 9.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.4625, allocations: 117.8 kB / 0.777 GB, free: 9.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.4629, allocations: 165.9 kB / 0.7772 GB, free: 9.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4629, allocations: 4 kB / 0.7772 GB, free: 9.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005572/0.4635, allocations: 241.2 kB / 0.7774 GB, free: 8.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4635, allocations: 4 kB / 0.7774 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4635, allocations: 8.094 kB / 0.7774 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4636, allocations: 3.938 kB / 0.7774 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4638, allocations: 59.89 kB / 0.7775 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4638, allocations: 4 kB / 0.7775 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.464, allocations: 23.83 kB / 0.7775 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.464, allocations: 8 kB / 0.7775 GB, free: 8.785 MB / 0.545 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 0.0001028/0.4641, allocations: 129.7 kB / 0.7776 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4642, allocations: 19.75 kB / 0.7777 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.4647, allocations: 179.2 kB / 0.7778 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.4647, allocations: 4 kB / 0.7778 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4647, allocations: 0 / 0.7778 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4647, allocations: 7.969 kB / 0.7778 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.465, allocations: 213.5 kB / 0.778 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.465, allocations: 0 / 0.778 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.4651, allocations: 39.92 kB / 0.7781 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4651, allocations: 0 / 0.7781 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4652, allocations: 7.922 kB / 0.7781 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4652, allocations: 0 / 0.7781 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4652, allocations: 0 / 0.7781 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.4656, allocations: 255.3 kB / 0.7783 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.4657, allocations: 104.8 kB / 0.7784 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.4657, allocations: 7.938 kB / 0.7784 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4659, allocations: 11.98 kB / 0.7785 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.4659, allocations: 15.92 kB / 0.7785 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4659, allocations: 4 kB / 0.7785 GB, free: 7.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.122e-05/0.466, allocations: 116 kB / 0.7786 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/0.466, allocations: 0 / 0.7786 GB, free: 7.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003471/0.4664, allocations: 60.11 kB / 0.7786 GB, free: 7.531 MB / 0.545 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.0003056/0.4667, allocations: 153.5 kB / 0.7788 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.4672, allocations: 181 kB / 0.779 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4672, allocations: 0 / 0.779 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.4674, allocations: 67.89 kB / 0.779 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.4678, allocations: 24.11 kB / 0.779 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.4683, allocations: 282 kB / 0.7793 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4686, allocations: 0.7045 MB / 0.78 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.4687, allocations: 15.44 kB / 0.78 GB, free: 6.059 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4687, allocations: 4 kB / 0.78 GB, free: 6.055 MB / 0.545 GB Notification: Performance of Templates: time 0.004791/0.4735, allocations: 2.573 MB / 0.7825 GB, free: 3.5 MB / 0.545 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)