Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001299/0.001299, allocations: 101.9 kB / 20.48 MB, free: 1.379 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.001431/0.001431, allocations: 219.8 kB / 23.78 MB, free: 4.547 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.9303/0.9303, allocations: 150 MB / 463.9 MB, free: 10.19 MB / 366.1 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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001958/0.001958, allocations: 66.17 kB / 0.642 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1865, allocations: 89.18 MB / 0.7291 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5541/0.7407, allocations: 147.7 MB / 0.8733 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008117/0.7488, allocations: 6.001 MB / 0.8791 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.7493, allocations: 15.88 kB / 0.8791 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.7498, allocations: 174.7 kB / 0.8793 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.7521, allocations: 0.8363 MB / 0.8801 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009741/0.753, allocations: 355.3 kB / 0.8805 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009443/0.754, allocations: 0.7213 MB / 0.8812 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.7544, allocations: 223.2 kB / 0.8814 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.7559, allocations: 0.7239 MB / 0.8821 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.7564, allocations: 275 kB / 0.8824 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.7564, allocations: 20 kB / 0.8824 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.757, allocations: 299.3 kB / 0.8827 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.7571, allocations: 107.6 kB / 0.8828 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.7573, allocations: 135.3 kB / 0.8829 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.7579, allocations: 468.2 kB / 0.8833 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7579, allocations: 11.94 kB / 0.8834 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7579, allocations: 0 / 0.8834 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.7579, allocations: 0 / 0.8834 GB, free: 6.926 MB / 0.6544 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.0008046/0.7587, allocations: 0.5399 MB / 0.8839 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7588, allocations: 12.03 kB / 0.8839 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/0.7588, allocations: 12.59 kB / 0.8839 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.7588, allocations: 66.53 kB / 0.884 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.7591, allocations: 63.67 kB / 0.884 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.7596, allocations: 259.5 kB / 0.8843 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.7596, allocations: 24.66 kB / 0.8843 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.7597, allocations: 28 kB / 0.8843 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.7602, allocations: 316.9 kB / 0.8846 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7602, allocations: 0 / 0.8846 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.7603, allocations: 12 kB / 0.8846 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.7603, allocations: 7.938 kB / 0.8846 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.7607, allocations: 202.2 kB / 0.8848 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.7621, allocations: 1.198 MB / 0.886 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.7624, allocations: 122.5 kB / 0.8861 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.7626, allocations: 80.81 kB / 0.8862 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.7631, allocations: 75.91 kB / 0.8863 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7631, allocations: 31.25 kB / 0.8863 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.7631, allocations: 4 kB / 0.8863 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007448/0.7638, allocations: 273 kB / 0.8866 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.7639, allocations: 51.66 kB / 0.8866 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.7642, allocations: 324.4 kB / 0.8869 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.7642, allocations: 25.7 kB / 0.887 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.7644, allocations: 184.2 kB / 0.8871 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.7644, allocations: 51.62 kB / 0.8872 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.7645, allocations: 29.72 kB / 0.8872 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7647, allocations: 346.7 kB / 0.8875 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.7648, allocations: 60.58 kB / 0.8876 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.7651, allocations: 194.1 kB / 0.8878 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.7654, allocations: 179 kB / 0.8879 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7654, allocations: 2.562 kB / 0.888 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000418/0.7658, allocations: 217.3 kB / 0.8882 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7658, allocations: 8 kB / 0.8882 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7658, allocations: 3.984 kB / 0.8882 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7658, allocations: 0 / 0.8882 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.766, allocations: 35.92 kB / 0.8882 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.766, allocations: 4 kB / 0.8882 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.7662, allocations: 31.92 kB / 0.8882 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.7662, allocations: 12 kB / 0.8883 GB, free: 1.625 MB / 0.6544 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.0001528/0.7664, allocations: 155.7 kB / 0.8884 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.7664, allocations: 27.81 kB / 0.8884 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.7669, allocations: 208.3 kB / 0.8886 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7669, allocations: 4 kB / 0.8886 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7669, allocations: 0 / 0.8886 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.7669, allocations: 3.938 kB / 0.8886 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.7679, allocations: 0.6365 MB / 0.8893 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7679, allocations: 0 / 0.8893 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.768, allocations: 27.98 kB / 0.8893 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.768, allocations: 3.938 kB / 0.8893 GB, free: 496 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.768, allocations: 8 kB / 0.8893 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.7681, allocations: 14.33 kB / 0.8893 GB, free: 476 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7681, allocations: 3.938 kB / 0.8893 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.7685, allocations: 329.3 kB / 0.8896 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.7686, allocations: 47.72 kB / 0.8897 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.7686, allocations: 4 kB / 0.8897 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.7688, allocations: 11.94 kB / 0.8897 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.7688, allocations: 15.97 kB / 0.8897 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.7688, allocations: 8 kB / 0.8897 GB, free: 16 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002312/0.7691, allocations: 223.1 kB / 0.8899 GB, free: 15.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7691, allocations: 0 / 0.8899 GB, free: 15.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000374/0.7694, allocations: 79.81 kB / 0.89 GB, free: 15.72 MB / 0.67 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.0008826/0.7703, allocations: 0.9053 MB / 0.8909 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.7707, allocations: 151.8 kB / 0.891 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7707, allocations: 0 / 0.891 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.7709, allocations: 88.56 kB / 0.8911 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.7717, allocations: 144.9 kB / 0.8912 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.7753, allocations: 2.816 MB / 0.894 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.7755, allocations: 171.8 kB / 0.8942 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.7757, allocations: 60 kB / 0.8942 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.7758, allocations: 95.41 kB / 0.8943 GB, free: 11.1 MB / 0.67 GB Notification: Performance of SimCode: time 6.42e-07/0.7758, allocations: 3.938 kB / 0.8943 GB, free: 11.09 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.807, allocations: 8.828 MB / 0.9029 GB, free: 2.594 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.06, allocations: 7.016 kB / 0.9029 GB, free: 2.59 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.816737744957209] Failed to read output from testmodel.py, exit status != 0: 12.220941147999838 12.248581125 11.485561495 Calling exit ...