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.001639/0.00164, allocations: 109 kB / 16.41 MB, free: 6.512 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.001897/0.001897, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003218/0.003218, allocations: 291.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 91.86 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3823, allocations: 86.98 MB / 0.7671 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005193/0.3875, allocations: 4.532 MB / 0.7715 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.3885, allocations: 0.8264 MB / 0.7723 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.3885, allocations: 0 / 0.7723 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3887, allocations: 35.77 kB / 0.7723 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.3888, allocations: 35.7 kB / 0.7724 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.3892, allocations: 163.4 kB / 0.7725 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3894, allocations: 179.3 kB / 0.7727 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.3895, allocations: 17.12 kB / 0.7727 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.3896, allocations: 87.69 kB / 0.7728 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3898, allocations: 75.72 kB / 0.7729 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3898, allocations: 12 kB / 0.7729 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.3901, allocations: 147.8 kB / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.3901, allocations: 43.83 kB / 0.7731 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.3902, allocations: 63.72 kB / 0.7731 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.3905, allocations: 233.8 kB / 0.7733 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3905, allocations: 4 kB / 0.7733 GB, free: 13.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3905, allocations: 4 kB / 0.7733 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3905, allocations: 0 / 0.7733 GB, free: 13.58 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.0007896/0.3913, allocations: 478.8 kB / 0.7738 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3914, allocations: 12.03 kB / 0.7738 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.3914, allocations: 8.844 kB / 0.7738 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3915, allocations: 199.1 kB / 0.774 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3916, allocations: 4.375 kB / 0.774 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3916, allocations: 16.31 kB / 0.774 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.3919, allocations: 124.1 kB / 0.7742 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.3919, allocations: 3.938 kB / 0.7742 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3919, allocations: 4 kB / 0.7742 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3919, allocations: 3.938 kB / 0.7742 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.3924, allocations: 143.9 kB / 0.7743 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009289/0.3933, allocations: 472.4 kB / 0.7748 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3936, allocations: 118.5 kB / 0.7749 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3938, allocations: 68.81 kB / 0.7749 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.3951, allocations: 0.9687 MB / 0.7759 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3951, allocations: 30.56 kB / 0.7759 GB, free: 10.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.3951, allocations: 4 kB / 0.7759 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006695/0.3958, allocations: 213.3 kB / 0.7761 GB, free: 10.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3958, allocations: 55.41 kB / 0.7762 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.396, allocations: 163 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.396, allocations: 33.7 kB / 0.7764 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.3961, allocations: 104.3 kB / 0.7765 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3961, allocations: 39.45 kB / 0.7765 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.3962, allocations: 49.69 kB / 0.7765 GB, free: 9.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3963, allocations: 330.8 kB / 0.7769 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3965, allocations: 75.89 kB / 0.7769 GB, free: 9.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3968, allocations: 107.4 kB / 0.777 GB, free: 9.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.3972, allocations: 171.3 kB / 0.7772 GB, free: 9.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3972, allocations: 0 / 0.7772 GB, free: 9.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005654/0.3978, allocations: 247.2 kB / 0.7774 GB, free: 9.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3978, allocations: 4 kB / 0.7774 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3978, allocations: 4 kB / 0.7774 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3979, allocations: 3.938 kB / 0.7774 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.3981, allocations: 55.91 kB / 0.7775 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3982, allocations: 7.984 kB / 0.7775 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.3983, allocations: 27.83 kB / 0.7775 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3984, allocations: 8.094 kB / 0.7775 GB, free: 8.914 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 9.4e-05/0.3985, allocations: 129.7 kB / 0.7777 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.3985, allocations: 19.8 kB / 0.7777 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.399, allocations: 170.9 kB / 0.7778 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.399, allocations: 3.938 kB / 0.7778 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.399, allocations: 4 kB / 0.7778 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.3991, allocations: 100.9 kB / 0.7779 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3991, allocations: 7.984 kB / 0.778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3993, allocations: 11.98 kB / 0.778 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3993, allocations: 11.98 kB / 0.778 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005264/0.3998, allocations: 253.3 kB / 0.7782 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004731/0.4003, allocations: 330.6 kB / 0.7785 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000186/0.4005, allocations: 63.89 kB / 0.7786 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.4006, allocations: 121.8 kB / 0.7787 GB, free: 7.652 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.4006, allocations: 0 / 0.7787 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007516/0.4014, allocations: 255 kB / 0.779 GB, free: 7.398 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005749/0.402, allocations: 0.6696 MB / 0.7796 GB, free: 6.68 MB / 0.545 GB Notification: Performance of Templates: time 0.005763/0.4077, allocations: 3.016 MB / 0.7826 GB, free: 3.699 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)