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.001429/0.001429, allocations: 108.2 kB / 16.45 MB, free: 6.488 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.001523/0.001523, allocations: 220.2 kB / 19.43 MB, free: 3.656 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.374/1.374, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002421/0.002421, allocations: 280.6 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.179/1.179, allocations: 180.9 MB / 0.5333 GB, free: 13.83 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.00272/0.00272, allocations: 106.4 kB / 0.7343 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1704, allocations: 95.34 MB / 0.8274 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5784/0.7488, allocations: 171 MB / 0.9943 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006262/0.755, allocations: 6.586 MB / 1.001 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.7556, allocations: 25.78 kB / 1.001 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.7561, allocations: 170.1 kB / 1.001 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.7583, allocations: 0.8727 MB / 1.002 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.7592, allocations: 336.1 kB / 1.002 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009605/0.7601, allocations: 0.7168 MB / 1.003 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.7605, allocations: 234.4 kB / 1.003 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.7617, allocations: 0.567 MB / 1.004 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.7621, allocations: 287.1 kB / 1.004 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.7622, allocations: 23.31 kB / 1.004 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.7629, allocations: 366.4 kB / 1.004 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.763, allocations: 111.7 kB / 1.004 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.7632, allocations: 167.8 kB / 1.005 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.7639, allocations: 470 kB / 1.005 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.7639, allocations: 1.469 kB / 1.005 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7639, allocations: 1.281 kB / 1.005 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7639, allocations: 0.75 kB / 1.005 GB, free: 3.047 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.001012/0.7649, allocations: 0.6305 MB / 1.006 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.7649, allocations: 10 kB / 1.006 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.765, allocations: 62.33 kB / 1.006 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.7653, allocations: 55.72 kB / 1.006 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.7658, allocations: 337.7 kB / 1.006 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.7658, allocations: 18.09 kB / 1.006 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.7658, allocations: 24.94 kB / 1.006 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.7663, allocations: 319.1 kB / 1.006 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7663, allocations: 0 / 1.006 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.7663, allocations: 14.41 kB / 1.006 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7663, allocations: 5.844 kB / 1.006 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.7667, allocations: 204.2 kB / 1.007 GB, free: 18.18 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.001446/0.7682, allocations: 1.535 MB / 1.008 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.7684, allocations: 116.5 kB / 1.008 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.7686, allocations: 87 kB / 1.008 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/0.7691, allocations: 303.9 kB / 1.009 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.7692, allocations: 36.34 kB / 1.009 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.7692, allocations: 2.297 kB / 1.009 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007026/0.7699, allocations: 267.4 kB / 1.009 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.7699, allocations: 54.88 kB / 1.009 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.7702, allocations: 309.9 kB / 1.009 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.7702, allocations: 30.08 kB / 1.009 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.7703, allocations: 186 kB / 1.009 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.7703, allocations: 50.73 kB / 1.009 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.7704, allocations: 37.28 kB / 1.009 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7705, allocations: 341.1 kB / 1.01 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.7707, allocations: 61.17 kB / 1.01 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.7708, allocations: 114.6 kB / 1.01 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.7711, allocations: 183.1 kB / 1.01 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7711, allocations: 1.094 kB / 1.01 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004028/0.7715, allocations: 223.4 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7715, allocations: 5.75 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7715, allocations: 4.406 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7716, allocations: 1.25 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.7717, allocations: 33.06 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7717, allocations: 6.531 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.7719, allocations: 25.89 kB / 1.01 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.7719, allocations: 7.656 kB / 1.01 GB, free: 15.81 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.000141/0.7721, allocations: 145.3 kB / 1.011 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.7721, allocations: 36.41 kB / 1.011 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.7725, allocations: 218.5 kB / 1.011 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7725, allocations: 1.312 kB / 1.011 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7725, allocations: 1.719 kB / 1.011 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7725, allocations: 2.219 kB / 1.011 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.7734, allocations: 0.6812 MB / 1.012 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7734, allocations: 1.438 kB / 1.012 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.7736, allocations: 30.91 kB / 1.012 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.7736, allocations: 2.688 kB / 1.012 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7736, allocations: 3.844 kB / 1.012 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.7736, allocations: 2.75 kB / 1.012 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7736, allocations: 9.25 kB / 1.012 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.774, allocations: 347.3 kB / 1.012 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.7741, allocations: 121.2 kB / 1.012 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.7741, allocations: 10.38 kB / 1.012 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.7743, allocations: 10.47 kB / 1.012 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.7743, allocations: 15.72 kB / 1.012 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.7743, allocations: 6.594 kB / 1.012 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001987/0.7745, allocations: 223.9 kB / 1.012 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7745, allocations: 2.531 kB / 1.012 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003869/0.7749, allocations: 72.39 kB / 1.012 GB, free: 14.86 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.0008849/0.7758, allocations: 0.9061 MB / 1.013 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.7762, allocations: 155.8 kB / 1.013 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7762, allocations: 4.188 kB / 1.013 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.7763, allocations: 82.62 kB / 1.013 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/0.7771, allocations: 150.3 kB / 1.014 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.78, allocations: 2.808 MB / 1.016 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.7804, allocations: 0.7826 MB / 1.017 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.7806, allocations: 59.95 kB / 1.017 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.7807, allocations: 92.23 kB / 1.017 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.7807, allocations: 0 / 1.017 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.8109, allocations: 8.152 MB / 1.025 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.709, allocations: 5.828 kB / 1.025 GB, free: 11.19 MB / 0.7325 GB " [Timeout remaining time 651] (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: 12.676940806210041] Failed to read output from testmodel.py, exit status != 0: 8.777046230155975 8.78725336 8.021114035 Calling exit ...