Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001581/0.001581, allocations: 110.6 kB / 18.94 MB, free: 2.953 MB / 14.72 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.001756/0.001756, allocations: 218.5 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002507/0.002507, allocations: 291.1 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.14/1.14, allocations: 180.6 MB / 0.5369 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 99.56 kB / 0.7396 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1661, allocations: 95.39 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5811/0.7472, allocations: 171.2 MB / 0.9999 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006725/0.7539, allocations: 6.635 MB / 1.006 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.7544, allocations: 20.78 kB / 1.006 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.7549, allocations: 172.6 kB / 1.007 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.757, allocations: 0.8907 MB / 1.007 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008801/0.7579, allocations: 345.9 kB / 1.008 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008818/0.7587, allocations: 0.7341 MB / 1.008 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.7591, allocations: 216 kB / 1.009 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.7603, allocations: 0.5761 MB / 1.009 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.7607, allocations: 290.3 kB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.7607, allocations: 26.94 kB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006923/0.7614, allocations: 361 kB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.7616, allocations: 109.7 kB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.7618, allocations: 171.1 kB / 1.01 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.7625, allocations: 479.1 kB / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7625, allocations: 0 / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7625, allocations: 0.875 kB / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.7625, allocations: 0 / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009691/0.7635, allocations: 0.5533 MB / 1.011 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7635, allocations: 11.22 kB / 1.011 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.7636, allocations: 62.02 kB / 1.011 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.7639, allocations: 59.34 kB / 1.011 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.7644, allocations: 263.4 kB / 1.012 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.7644, allocations: 22.38 kB / 1.012 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.7644, allocations: 25.39 kB / 1.012 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.7649, allocations: 320.6 kB / 1.012 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.7649, allocations: 3.062 kB / 1.012 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.7649, allocations: 13.25 kB / 1.012 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7649, allocations: 11.03 kB / 1.012 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.7653, allocations: 201 kB / 1.012 GB, free: 18.58 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.7667, allocations: 1.497 MB / 1.014 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.767, allocations: 109.5 kB / 1.014 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.7671, allocations: 93.12 kB / 1.014 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004475/0.7676, allocations: 69.73 kB / 1.014 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.7676, allocations: 37.84 kB / 1.014 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.7676, allocations: 0 / 1.014 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0006646/0.7683, allocations: 280.9 kB / 1.014 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.7683, allocations: 53.56 kB / 1.014 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.7686, allocations: 308.3 kB / 1.014 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.7686, allocations: 30.7 kB / 1.015 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.7687, allocations: 189 kB / 1.015 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.7688, allocations: 48.28 kB / 1.015 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.7688, allocations: 36.61 kB / 1.015 GB, free: 17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.769, allocations: 337.8 kB / 1.015 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.7691, allocations: 61.11 kB / 1.015 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.7693, allocations: 114 kB / 1.015 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.7695, allocations: 180.6 kB / 1.015 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7695, allocations: 1.031 kB / 1.015 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000373/0.7699, allocations: 225 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7699, allocations: 5.656 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.7699, allocations: 2.094 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7699, allocations: 2.578 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.7701, allocations: 33.06 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7701, allocations: 4.219 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.7703, allocations: 32.75 kB / 1.016 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.7703, allocations: 7.031 kB / 1.016 GB, free: 16.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001348/0.7704, allocations: 148.7 kB / 1.016 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.7705, allocations: 33.41 kB / 1.016 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.7709, allocations: 206.1 kB / 1.016 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7709, allocations: 1.188 kB / 1.016 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7709, allocations: 1.094 kB / 1.016 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7709, allocations: 1.406 kB / 1.016 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.7718, allocations: 0.6572 MB / 1.017 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7718, allocations: 3.938 kB / 1.017 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.7719, allocations: 29.16 kB / 1.017 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7719, allocations: 3.969 kB / 1.017 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7719, allocations: 2.688 kB / 1.017 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7719, allocations: 2.969 kB / 1.017 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7719, allocations: 9.812 kB / 1.017 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.7723, allocations: 349.6 kB / 1.017 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.7724, allocations: 43.42 kB / 1.017 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.7724, allocations: 7.812 kB / 1.017 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.7725, allocations: 9.719 kB / 1.017 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.7726, allocations: 16.17 kB / 1.017 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.7726, allocations: 9.188 kB / 1.017 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001928/0.7728, allocations: 224 kB / 1.017 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7728, allocations: 0.625 kB / 1.017 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003606/0.7732, allocations: 75.67 kB / 1.017 GB, free: 15.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0007864/0.7739, allocations: 0.9123 MB / 1.018 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.7743, allocations: 151.4 kB / 1.019 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7743, allocations: 0.8125 kB / 1.019 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.7744, allocations: 86.58 kB / 1.019 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.7752, allocations: 145.1 kB / 1.019 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.7781, allocations: 2.813 MB / 1.021 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.7785, allocations: 0.7826 MB / 1.022 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.7787, allocations: 67.55 kB / 1.022 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.7788, allocations: 92.58 kB / 1.022 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.7788, allocations: 1.188 kB / 1.022 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.8129, allocations: 8.317 MB / 1.031 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.03, allocations: 3.984 kB / 1.031 GB, free: 12.02 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.038760660001572] Failed to read output from testmodel.py, exit status != 0: 11.128330665000249 11.139413183 10.374409108 Calling exit ...