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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007314/0.0007314, allocations: 98.27 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 184.5 kB / 16.92 MB, free: 6.754 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.215/1.215, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.638/0.638, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 12.59 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004659/0.1263, allocations: 4.181 MB / 0.5641 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.1273, allocations: 0.8187 MB / 0.5649 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.1273, allocations: 0 / 0.5649 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1275, allocations: 27.83 kB / 0.565 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.1276, allocations: 31.77 kB / 0.565 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.1281, allocations: 147.5 kB / 0.5651 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1282, allocations: 167.4 kB / 0.5653 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.1283, allocations: 17.12 kB / 0.5653 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1285, allocations: 75.62 kB / 0.5654 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.1286, allocations: 71.73 kB / 0.5654 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1286, allocations: 11.98 kB / 0.5655 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.1289, allocations: 135.8 kB / 0.5656 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.129, allocations: 27.91 kB / 0.5656 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.1291, allocations: 89.34 kB / 0.5657 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1294, allocations: 231.5 kB / 0.5659 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1294, allocations: 8 kB / 0.5659 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1294, allocations: 0 / 0.5659 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1294, allocations: 0 / 0.5659 GB, free: 2.879 MB / 430.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.0007681/0.1302, allocations: 463 kB / 0.5664 GB, free: 2.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1302, allocations: 8.031 kB / 0.5664 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1303, allocations: 42.73 kB / 0.5664 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1303, allocations: 16.75 kB / 0.5664 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1304, allocations: 181.8 kB / 0.5666 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1305, allocations: 8.375 kB / 0.5666 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1305, allocations: 8.375 kB / 0.5666 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.1308, allocations: 143.2 kB / 0.5668 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1308, allocations: 3.938 kB / 0.5668 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1309, allocations: 4 kB / 0.5668 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1309, allocations: 0 / 0.5668 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.1313, allocations: 163.9 kB / 0.5669 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.1322, allocations: 472.3 kB / 0.5674 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1325, allocations: 138.4 kB / 0.5675 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.1327, allocations: 84.81 kB / 0.5676 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.134, allocations: 0.9568 MB / 0.5685 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.134, allocations: 30.56 kB / 0.5685 GB, free: 15.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.134, allocations: 0 / 0.5685 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000672/0.1347, allocations: 253.1 kB / 0.5688 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1348, allocations: 59.33 kB / 0.5688 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1349, allocations: 165.9 kB / 0.569 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1349, allocations: 29.7 kB / 0.569 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.135, allocations: 108.4 kB / 0.5691 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.135, allocations: 39.36 kB / 0.5692 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1351, allocations: 29.7 kB / 0.5692 GB, free: 15.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1352, allocations: 326.8 kB / 0.5695 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1354, allocations: 83.95 kB / 0.5696 GB, free: 14.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1357, allocations: 132.8 kB / 0.5697 GB, free: 14.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.1361, allocations: 195 kB / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1361, allocations: 0 / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000559/0.1367, allocations: 257.3 kB / 0.5702 GB, free: 14.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1367, allocations: 8.094 kB / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1367, allocations: 7.938 kB / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1367, allocations: 0 / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.137, allocations: 63.91 kB / 0.5702 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.137, allocations: 3.984 kB / 0.5702 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1372, allocations: 39.67 kB / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.1372, allocations: 12 kB / 0.5703 GB, free: 14.04 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 9.212e-05/0.1373, allocations: 121.8 kB / 0.5704 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1373, allocations: 7.906 kB / 0.5704 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.1378, allocations: 206.8 kB / 0.5706 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1378, allocations: 0 / 0.5706 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1379, allocations: 7.938 kB / 0.5706 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1379, allocations: 0 / 0.5706 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1381, allocations: 221.4 kB / 0.5708 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1381, allocations: 15.92 kB / 0.5708 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1382, allocations: 27.98 kB / 0.5709 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1382, allocations: 0 / 0.5709 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1383, allocations: 7.938 kB / 0.5709 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1383, allocations: 0 / 0.5709 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1383, allocations: 0 / 0.5709 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.1387, allocations: 279.3 kB / 0.5711 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1388, allocations: 104.8 kB / 0.5712 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1388, allocations: 7.938 kB / 0.5712 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.139, allocations: 19.98 kB / 0.5713 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.139, allocations: 7.984 kB / 0.5713 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.139, allocations: 0 / 0.5713 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.629e-05/0.1391, allocations: 117.6 kB / 0.5714 GB, free: 12.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1391, allocations: 4 kB / 0.5714 GB, free: 12.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1394, allocations: 72.3 kB / 0.5715 GB, free: 12.74 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.0008249/0.1403, allocations: 0.8605 MB / 0.5723 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.1408, allocations: 189.4 kB / 0.5725 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1408, allocations: 0 / 0.5725 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.141, allocations: 79.88 kB / 0.5726 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1413, allocations: 21.72 kB / 0.5726 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1437, allocations: 2.04 MB / 0.5746 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1439, allocations: 0.7009 MB / 0.5752 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.144, allocations: 25.98 kB / 0.5753 GB, free: 8.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1441, allocations: 39.36 kB / 0.5753 GB, free: 8.641 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1441, allocations: 0 / 0.5753 GB, free: 8.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.095/2.239, allocations: 3.869 MB / 0.5791 GB, free: 4.957 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/2.239, allocations: 216 kB / 0.5793 GB, free: 4.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/3.835, allocations: 7.062 kB / 0.5793 GB, free: 4.699 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)