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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9013/0.9013, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5594/0.5594, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.907e-05, allocations: 11.19 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005121/0.00515, allocations: 4.373 MB / 0.5585 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.006171, allocations: 0.7552 MB / 0.5592 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.006245, allocations: 4 kB / 0.5592 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.006432, allocations: 31.83 kB / 0.5592 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.006491, allocations: 31.66 kB / 0.5593 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.007128, allocations: 179.2 kB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.007309, allocations: 187.3 kB / 0.5596 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.007424, allocations: 5.312 kB / 0.5596 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.007665, allocations: 111.8 kB / 0.5597 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.007754, allocations: 67.78 kB / 0.5598 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.007779, allocations: 12 kB / 0.5598 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.008077, allocations: 135.8 kB / 0.5599 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.00811, allocations: 35.89 kB / 0.56 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.00816, allocations: 47.89 kB / 0.56 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.008518, allocations: 259.2 kB / 0.5603 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.008523, allocations: 7.938 kB / 0.5603 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/0.008524, allocations: 0 / 0.5603 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.008531, allocations: 0 / 0.5603 GB, free: 12.53 MB / 0.5261 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.000853/0.009384, allocations: 405.5 kB / 0.5607 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.009435, allocations: 12.56 kB / 0.5607 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.009475, allocations: 46.73 kB / 0.5607 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.009519, allocations: 12.84 kB / 0.5607 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.009625, allocations: 125.6 kB / 0.5609 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.009641, allocations: 8.375 kB / 0.5609 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.00966, allocations: 16.12 kB / 0.5609 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.009928, allocations: 123.9 kB / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.009938, allocations: 0 / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.009952, allocations: 0 / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.009959, allocations: 8 kB / 0.561 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.0102, allocations: 147.8 kB / 0.5611 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.01092, allocations: 411.7 kB / 0.5615 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.01114, allocations: 114.5 kB / 0.5616 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.01124, allocations: 64.81 kB / 0.5617 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007541/0.012, allocations: 476 kB / 0.5622 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.01203, allocations: 34.56 kB / 0.5622 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.01203, allocations: 0 / 0.5622 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0004669/0.0125, allocations: 217.4 kB / 0.5624 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.01254, allocations: 51.41 kB / 0.5624 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01268, allocations: 163.9 kB / 0.5626 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.0127, allocations: 29.7 kB / 0.5626 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.01277, allocations: 104.5 kB / 0.5627 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.01279, allocations: 47.64 kB / 0.5628 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.01286, allocations: 53.64 kB / 0.5628 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.01296, allocations: 322.8 kB / 0.5631 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.0131, allocations: 79.88 kB / 0.5632 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.01326, allocations: 103.4 kB / 0.5633 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.01352, allocations: 182.4 kB / 0.5635 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01352, allocations: 0 / 0.5635 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003393/0.01386, allocations: 237.3 kB / 0.5637 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.01388, allocations: 16.03 kB / 0.5637 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.01389, allocations: 0 / 0.5637 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.01391, allocations: 7.984 kB / 0.5637 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.01407, allocations: 55.89 kB / 0.5638 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01408, allocations: 0 / 0.5638 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.01416, allocations: 39.7 kB / 0.5638 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.01419, allocations: 8 kB / 0.5638 GB, free: 8.645 MB / 0.5261 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.256e-05/0.01428, allocations: 125.8 kB / 0.564 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.0143, allocations: 15.89 kB / 0.564 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.01492, allocations: 182.4 kB / 0.5641 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01492, allocations: 0 / 0.5641 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01493, allocations: 0 / 0.5641 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.01493, allocations: 4 kB / 0.5641 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.01509, allocations: 176.6 kB / 0.5643 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01509, allocations: 0 / 0.5643 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.01516, allocations: 31.92 kB / 0.5643 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.01517, allocations: 4 kB / 0.5643 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01518, allocations: 7.938 kB / 0.5644 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01518, allocations: 3.984 kB / 0.5644 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01519, allocations: 0 / 0.5644 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.01545, allocations: 259.3 kB / 0.5646 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.01549, allocations: 15.94 kB / 0.5646 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.0155, allocations: 7.938 kB / 0.5646 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.01557, allocations: 19.98 kB / 0.5646 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.01561, allocations: 11.97 kB / 0.5647 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01562, allocations: 8 kB / 0.5647 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.01568, allocations: 114.1 kB / 0.5648 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01568, allocations: 0 / 0.5648 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002711/0.01595, allocations: 63.83 kB / 0.5648 GB, free: 7.535 MB / 0.5261 GB 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.0006213/0.01658, allocations: 0.8448 MB / 0.5657 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.01687, allocations: 155.8 kB / 0.5658 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.01687, allocations: 11.94 kB / 0.5658 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.01697, allocations: 59.89 kB / 0.5659 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.01728, allocations: 24.11 kB / 0.5659 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.01902, allocations: 1.958 MB / 0.5678 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.01908, allocations: 93.75 kB / 0.5679 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.998e-05/0.01916, allocations: 21.12 kB / 0.5679 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.01923, allocations: 32.5 kB / 0.568 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.01923, allocations: 0 / 0.568 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.03846, allocations: 5.095 MB / 0.5729 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/6.881, allocations: 3.391 kB / 0.5729 GB, free: 15.32 MB / 0.5417 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.479371281340718] Failed to read output from testmodel.py, exit status != 0: 6.965278157964349 6.978135237 6.967811539 Calling exit ...