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.001341/0.001341, allocations: 110.1 kB / 16.41 MB, free: 6.516 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.001464/0.001464, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 288.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4076, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007431/0.415, allocations: 4.548 MB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.4164, allocations: 0.8302 MB / 0.7723 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.4165, allocations: 0 / 0.7723 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.4168, allocations: 27.83 kB / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.4169, allocations: 35.66 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.4175, allocations: 171.4 kB / 0.7725 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.4177, allocations: 179.3 kB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.4178, allocations: 13.11 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.418, allocations: 79.75 kB / 0.7728 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.4182, allocations: 71.73 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.4182, allocations: 16 kB / 0.7729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.4186, allocations: 155.7 kB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.4186, allocations: 39.84 kB / 0.7731 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.4187, allocations: 67.7 kB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.4191, allocations: 240.9 kB / 0.7734 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4191, allocations: 4 kB / 0.7734 GB, free: 13.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4191, allocations: 0 / 0.7734 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.4191, allocations: 0 / 0.7734 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.001019/0.4201, allocations: 478.6 kB / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4202, allocations: 8.031 kB / 0.7738 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.4202, allocations: 12.89 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.4204, allocations: 188.2 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4205, allocations: 4.375 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.4205, allocations: 16.31 kB / 0.774 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.4208, allocations: 124.1 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4209, allocations: 4 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4209, allocations: 8 kB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4209, allocations: 0 / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.4213, allocations: 143.8 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.4225, allocations: 468.5 kB / 0.7748 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.4228, allocations: 110.5 kB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.423, allocations: 73.05 kB / 0.7749 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.4246, allocations: 0.9645 MB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.4247, allocations: 34.5 kB / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.4247, allocations: 0 / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007493/0.4254, allocations: 217.3 kB / 0.7761 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4255, allocations: 55.41 kB / 0.7762 GB, free: 10.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.4256, allocations: 167 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.4257, allocations: 25.7 kB / 0.7764 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.4258, allocations: 116.5 kB / 0.7765 GB, free: 9.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.4258, allocations: 39.67 kB / 0.7765 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.4259, allocations: 49.66 kB / 0.7765 GB, free: 9.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.426, allocations: 326.8 kB / 0.7769 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.4263, allocations: 75.94 kB / 0.7769 GB, free: 9.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.4266, allocations: 117.7 kB / 0.777 GB, free: 9.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.427, allocations: 166.4 kB / 0.7772 GB, free: 9.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.427, allocations: 4 kB / 0.7772 GB, free: 9.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006633/0.4277, allocations: 247.3 kB / 0.7774 GB, free: 8.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4277, allocations: 4 kB / 0.7774 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4277, allocations: 0 / 0.7774 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.4277, allocations: 7.938 kB / 0.7775 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.4281, allocations: 60 kB / 0.7775 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4281, allocations: 0 / 0.7775 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.4283, allocations: 39.75 kB / 0.7775 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.4283, allocations: 12 kB / 0.7776 GB, free: 8.773 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.0001592/0.4285, allocations: 125.7 kB / 0.7777 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.4285, allocations: 11.91 kB / 0.7777 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.4291, allocations: 178.9 kB / 0.7779 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4291, allocations: 0 / 0.7779 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4291, allocations: 0 / 0.7779 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4291, allocations: 4 kB / 0.7779 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.4294, allocations: 209.5 kB / 0.7781 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4294, allocations: 0 / 0.7781 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4295, allocations: 27.97 kB / 0.7781 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4295, allocations: 0 / 0.7781 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4296, allocations: 19.88 kB / 0.7781 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4296, allocations: 0 / 0.7781 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4296, allocations: 0 / 0.7781 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.4301, allocations: 255.8 kB / 0.7784 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4302, allocations: 97 kB / 0.7784 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.4302, allocations: 15.94 kB / 0.7785 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4304, allocations: 11.98 kB / 0.7785 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.4304, allocations: 11.98 kB / 0.7785 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4304, allocations: 0 / 0.7785 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.756e-05/0.4305, allocations: 117.8 kB / 0.7786 GB, free: 7.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4305, allocations: 0 / 0.7786 GB, free: 7.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000374/0.4309, allocations: 67.86 kB / 0.7787 GB, free: 7.543 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.0003512/0.4312, allocations: 163 kB / 0.7788 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.4318, allocations: 164.1 kB / 0.779 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4318, allocations: 0 / 0.779 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.432, allocations: 63.83 kB / 0.779 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.4324, allocations: 23.92 kB / 0.7791 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.4331, allocations: 249 kB / 0.7793 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.4335, allocations: 0.7006 MB / 0.78 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.815e-05/0.4336, allocations: 21.06 kB / 0.78 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.4337, allocations: 15.44 kB / 0.78 GB, free: 6.094 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4337, allocations: 0 / 0.78 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Templates: time 0.006702/0.4404, allocations: 2.774 MB / 0.7827 GB, free: 3.355 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)