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.001058/0.001058, allocations: 103.8 kB / 16.27 MB, free: 6.055 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.001073/0.001073, allocations: 188.4 kB / 17.2 MB, free: 5.684 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.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3147, allocations: 77.93 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005177/0.3199, allocations: 4.52 MB / 0.5717 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.3207, allocations: 0.8178 MB / 0.5725 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.3208, allocations: 0 / 0.5725 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.3209, allocations: 30.67 kB / 0.5725 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.321, allocations: 36.75 kB / 0.5726 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3215, allocations: 171.8 kB / 0.5727 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3216, allocations: 177.1 kB / 0.5729 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.3217, allocations: 20.17 kB / 0.5729 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3219, allocations: 85.41 kB / 0.573 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.322, allocations: 79.22 kB / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.322, allocations: 14.47 kB / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.3223, allocations: 150.9 kB / 0.5732 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.3224, allocations: 32.22 kB / 0.5733 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.3224, allocations: 70.81 kB / 0.5733 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.3227, allocations: 232.2 kB / 0.5736 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3228, allocations: 2.062 kB / 0.5736 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3228, allocations: 0 / 0.5736 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3228, allocations: 1.562 kB / 0.5736 GB, free: 28.32 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.0007227/0.3235, allocations: 482.5 kB / 0.574 GB, free: 27.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3235, allocations: 10.25 kB / 0.574 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.3236, allocations: 39.44 kB / 0.5741 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3236, allocations: 15.12 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.3237, allocations: 189.4 kB / 0.5743 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3237, allocations: 8.875 kB / 0.5743 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3238, allocations: 12.69 kB / 0.5743 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.3241, allocations: 121.8 kB / 0.5744 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3241, allocations: 1.672 kB / 0.5744 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3241, allocations: 4.969 kB / 0.5744 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3241, allocations: 2.344 kB / 0.5744 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.3245, allocations: 145.7 kB / 0.5745 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008809/0.3254, allocations: 461.2 kB / 0.575 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.3257, allocations: 126.9 kB / 0.5751 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.3259, allocations: 69.97 kB / 0.5752 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.3271, allocations: 0.963 MB / 0.5761 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3271, allocations: 37.39 kB / 0.5761 GB, free: 26.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.3271, allocations: 4.656 kB / 0.5762 GB, free: 26.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006567/0.3278, allocations: 211.4 kB / 0.5764 GB, free: 26.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3278, allocations: 52.72 kB / 0.5764 GB, free: 26.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3279, allocations: 165.8 kB / 0.5766 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.328, allocations: 31.05 kB / 0.5766 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.328, allocations: 112.5 kB / 0.5767 GB, free: 25.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.3281, allocations: 35.42 kB / 0.5767 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.3281, allocations: 54.73 kB / 0.5768 GB, free: 25.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.3282, allocations: 322.5 kB / 0.5771 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3284, allocations: 78.36 kB / 0.5772 GB, free: 25.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.3287, allocations: 113.5 kB / 0.5773 GB, free: 25.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.3291, allocations: 169.2 kB / 0.5774 GB, free: 25.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3291, allocations: 3.938 kB / 0.5774 GB, free: 25.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005307/0.3296, allocations: 242.8 kB / 0.5777 GB, free: 25.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3296, allocations: 6.5 kB / 0.5777 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3296, allocations: 5.703 kB / 0.5777 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3297, allocations: 3.406 kB / 0.5777 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.3299, allocations: 59.39 kB / 0.5777 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3299, allocations: 1.734 kB / 0.5777 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3301, allocations: 31.78 kB / 0.5778 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3301, allocations: 9.297 kB / 0.5778 GB, free: 25.09 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 6.642e-05/0.3302, allocations: 124.2 kB / 0.5779 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3302, allocations: 8.781 kB / 0.5779 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.3307, allocations: 184 kB / 0.5781 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3307, allocations: 2.562 kB / 0.5781 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3308, allocations: 0 / 0.5781 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3308, allocations: 0.7031 kB / 0.5781 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3309, allocations: 219.3 kB / 0.5783 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.331, allocations: 4 kB / 0.5783 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3311, allocations: 34.69 kB / 0.5783 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3311, allocations: 1.891 kB / 0.5783 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3311, allocations: 5.188 kB / 0.5783 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3311, allocations: 4.688 kB / 0.5783 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3312, allocations: 1.156 kB / 0.5783 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.3316, allocations: 259.5 kB / 0.5786 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.3316, allocations: 105.7 kB / 0.5787 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3317, allocations: 5.281 kB / 0.5787 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3318, allocations: 20.25 kB / 0.5787 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3319, allocations: 12.97 kB / 0.5787 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.3319, allocations: 1.797 kB / 0.5787 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.3319, allocations: 117.6 kB / 0.5788 GB, free: 24.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3319, allocations: 0 / 0.5788 GB, free: 24.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.3322, allocations: 59.72 kB / 0.5789 GB, free: 24.26 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.0006806/0.3329, allocations: 0.8512 MB / 0.5797 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.3334, allocations: 173.7 kB / 0.5799 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3334, allocations: 2.094 kB / 0.5799 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3336, allocations: 62.64 kB / 0.58 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3339, allocations: 17.41 kB / 0.58 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3361, allocations: 1.949 MB / 0.5819 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3362, allocations: 0.7035 MB / 0.5826 GB, free: 21.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.54e-05/0.3363, allocations: 16.48 kB / 0.5826 GB, free: 21.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.3364, allocations: 35.56 kB / 0.5826 GB, free: 21.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3364, allocations: 4.281 kB / 0.5826 GB, free: 21.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.3533, allocations: 4.24 MB / 0.5868 GB, free: 19.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.973, allocations: 6.531 kB / 0.5868 GB, free: 19.42 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)