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.001091/0.001091, allocations: 109.4 kB / 16.42 MB, free: 6.469 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.001135/0.001135, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.328/1.328, 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.002178/0.002178, allocations: 293.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9518/0.9518, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 95.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4036, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006354/0.4099, allocations: 4.536 MB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.411, allocations: 0.8263 MB / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.4111, allocations: 4 kB / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.4113, allocations: 27.83 kB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.4114, allocations: 35.64 kB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.412, allocations: 175.4 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.4122, allocations: 175.4 kB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.4123, allocations: 13.11 kB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.4124, allocations: 83.75 kB / 0.7728 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4126, allocations: 79.73 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.4126, allocations: 12 kB / 0.7729 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.4129, allocations: 155.7 kB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.413, allocations: 35.84 kB / 0.7731 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.4131, allocations: 63.72 kB / 0.7731 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.4135, allocations: 237.6 kB / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4135, allocations: 0 / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4135, allocations: 0 / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4135, allocations: 0 / 0.7733 GB, free: 13.46 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.0008795/0.4144, allocations: 482.9 kB / 0.7738 GB, free: 12.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4144, allocations: 8.031 kB / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.4145, allocations: 16.78 kB / 0.7738 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4146, allocations: 196 kB / 0.774 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4147, allocations: 12.38 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4147, allocations: 12.38 kB / 0.774 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.415, allocations: 116.2 kB / 0.7742 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.415, allocations: 0 / 0.7742 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4151, allocations: 4 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4151, allocations: 0 / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.4155, allocations: 151.8 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.4165, allocations: 460.4 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.4168, allocations: 130.5 kB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.417, allocations: 68.81 kB / 0.7749 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.4185, allocations: 0.9726 MB / 0.7759 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4185, allocations: 34.5 kB / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.4185, allocations: 0 / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007023/0.4192, allocations: 213.6 kB / 0.7761 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.4193, allocations: 55.41 kB / 0.7762 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4194, allocations: 167 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4195, allocations: 33.7 kB / 0.7764 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.4195, allocations: 112.3 kB / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4196, allocations: 35.45 kB / 0.7765 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.4197, allocations: 49.7 kB / 0.7765 GB, free: 9.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4198, allocations: 318.8 kB / 0.7769 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.42, allocations: 79.94 kB / 0.7769 GB, free: 9.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.4203, allocations: 113.7 kB / 0.777 GB, free: 9.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.4207, allocations: 170.4 kB / 0.7772 GB, free: 9.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4207, allocations: 0 / 0.7772 GB, free: 9.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005899/0.4213, allocations: 247.2 kB / 0.7774 GB, free: 8.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4213, allocations: 8.094 kB / 0.7774 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4213, allocations: 0 / 0.7774 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4213, allocations: 7.938 kB / 0.7775 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4216, allocations: 59.89 kB / 0.7775 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4216, allocations: 7.938 kB / 0.7775 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4218, allocations: 19.83 kB / 0.7775 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4219, allocations: 12 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.000106/0.422, allocations: 125.8 kB / 0.7777 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.422, allocations: 23.73 kB / 0.7777 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.4225, allocations: 167 kB / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4225, allocations: 7.922 kB / 0.7779 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4225, allocations: 0 / 0.7779 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.4226, allocations: 96.91 kB / 0.7779 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.4227, allocations: 4 kB / 0.778 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4228, allocations: 23.92 kB / 0.778 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.4229, allocations: 7.984 kB / 0.778 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005297/0.4234, allocations: 244.7 kB / 0.7782 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004673/0.4239, allocations: 334.5 kB / 0.7785 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001918/0.4241, allocations: 63.95 kB / 0.7786 GB, free: 7.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.885e-05/0.4242, allocations: 117.8 kB / 0.7787 GB, free: 7.535 MB / 0.545 GB Notification: Performance of Backend: time 4.71e-07/0.4242, allocations: 0 / 0.7787 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007791/0.425, allocations: 257.8 kB / 0.779 GB, free: 7.277 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006649/0.4256, allocations: 0.6773 MB / 0.7796 GB, free: 6.551 MB / 0.545 GB Notification: Performance of Templates: time 0.006157/0.4318, allocations: 3.018 MB / 0.7826 GB, free: 3.566 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)