Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000784/0.0007843, allocations: 94.72 kB / 16.67 MB, free: 5.754 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.000821/0.000821, allocations: 180.8 kB / 17.58 MB, free: 5.438 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.349/1.349, allocations: 223.3 MB / 241.6 MB, free: 14.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 115.5 MB / 408.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4244, allocations: 77.52 MB / 0.5606 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004625/0.4291, allocations: 4.182 MB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.4301, allocations: 0.8132 MB / 0.5655 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.4302, allocations: 2.062 kB / 0.5655 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.4304, allocations: 22.73 kB / 0.5655 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.4304, allocations: 26.28 kB / 0.5655 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.4309, allocations: 153.8 kB / 0.5657 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.4311, allocations: 169.1 kB / 0.5658 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.4312, allocations: 24.7 kB / 0.5658 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.4314, allocations: 77.88 kB / 0.5659 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.4316, allocations: 71.31 kB / 0.566 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4316, allocations: 6.562 kB / 0.566 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.432, allocations: 144 kB / 0.5661 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.432, allocations: 27.2 kB / 0.5662 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.4321, allocations: 89.36 kB / 0.5662 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.4324, allocations: 161.7 kB / 0.5664 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4324, allocations: 5.219 kB / 0.5664 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4324, allocations: 0 / 0.5664 GB, free: 31.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.4324, allocations: 0 / 0.5664 GB, free: 31.42 MB / 446.1 MB 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.0007879/0.4332, allocations: 467.5 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4333, allocations: 14.84 kB / 0.5669 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.4333, allocations: 15.78 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4334, allocations: 185.5 kB / 0.5671 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4334, allocations: 8.5 kB / 0.5671 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4335, allocations: 13.94 kB / 0.5671 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.4338, allocations: 136.5 kB / 0.5672 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4339, allocations: 0 / 0.5672 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4339, allocations: 2.312 kB / 0.5672 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4339, allocations: 1.156 kB / 0.5672 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.4343, allocations: 165.6 kB / 0.5674 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/0.4353, allocations: 470.9 kB / 0.5678 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.4356, allocations: 143.5 kB / 0.5679 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.4359, allocations: 83 kB / 0.568 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.4371, allocations: 0.9635 MB / 0.569 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4371, allocations: 33.27 kB / 0.569 GB, free: 29.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.4371, allocations: 0 / 0.569 GB, free: 29.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000742/0.4379, allocations: 249.2 kB / 0.5692 GB, free: 29.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.4379, allocations: 58.59 kB / 0.5693 GB, free: 29.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4381, allocations: 160.5 kB / 0.5694 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4381, allocations: 26.27 kB / 0.5695 GB, free: 29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.4382, allocations: 117.7 kB / 0.5696 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4382, allocations: 36.31 kB / 0.5696 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.4382, allocations: 30.16 kB / 0.5696 GB, free: 28.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.4383, allocations: 322.7 kB / 0.57 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4386, allocations: 86.25 kB / 0.57 GB, free: 28.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.4388, allocations: 126.9 kB / 0.5702 GB, free: 28.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.4393, allocations: 191.5 kB / 0.5703 GB, free: 28.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4393, allocations: 5.312 kB / 0.5703 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006214/0.4399, allocations: 266.4 kB / 0.5706 GB, free: 28.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.44, allocations: 5.719 kB / 0.5706 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.44, allocations: 1.188 kB / 0.5706 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.44, allocations: 8.406 kB / 0.5706 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.4403, allocations: 59.94 kB / 0.5707 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4403, allocations: 1.906 kB / 0.5707 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.4405, allocations: 34.5 kB / 0.5707 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.4405, allocations: 11.2 kB / 0.5707 GB, free: 28.25 MB / 446.1 MB 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 8.187e-05/0.4406, allocations: 125.7 kB / 0.5708 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4406, allocations: 13.66 kB / 0.5709 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.4412, allocations: 200.7 kB / 0.571 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4412, allocations: 6.031 kB / 0.571 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4412, allocations: 0 / 0.571 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4412, allocations: 3.047 kB / 0.5711 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4414, allocations: 214.6 kB / 0.5713 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4414, allocations: 3.938 kB / 0.5713 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.4416, allocations: 39.44 kB / 0.5713 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4416, allocations: 1.484 kB / 0.5713 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4416, allocations: 5.281 kB / 0.5713 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4416, allocations: 3.781 kB / 0.5713 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4416, allocations: 0.5625 kB / 0.5713 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.4421, allocations: 278.4 kB / 0.5716 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.4422, allocations: 102.3 kB / 0.5717 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4422, allocations: 8.969 kB / 0.5717 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4423, allocations: 19.72 kB / 0.5717 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.4424, allocations: 16.33 kB / 0.5717 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.4424, allocations: 2.688 kB / 0.5717 GB, free: 27.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.725e-05/0.4425, allocations: 116.4 kB / 0.5718 GB, free: 27.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4425, allocations: 0 / 0.5718 GB, free: 27.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.4429, allocations: 59.41 kB / 0.5719 GB, free: 27.42 MB / 446.1 MB 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.0002809/0.4432, allocations: 162.5 kB / 0.572 GB, free: 27.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.4437, allocations: 186.6 kB / 0.5722 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4437, allocations: 0 / 0.5722 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.444, allocations: 80.58 kB / 0.5723 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4443, allocations: 21.62 kB / 0.5723 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.4448, allocations: 330.6 kB / 0.5726 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.445, allocations: 0.7081 MB / 0.5733 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.445, allocations: 17.42 kB / 0.5733 GB, free: 26.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.445, allocations: 0 / 0.5733 GB, free: 26.3 MB / 446.1 MB Notification: Performance of Templates: time 0.005466/0.4505, allocations: 2.524 MB / 0.5758 GB, free: 26.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)