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.001021/0.001021, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009645/0.0009645, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9057/0.9057, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5629/0.5629, allocations: 114 MB / 373.9 MB, free: 8.703 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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5542 GB, free: 1.66 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.708e-05, allocations: 6.219 kB / 0.5542 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4396/0.4396, allocations: 147.7 MB / 0.6985 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.4448, allocations: 5.954 MB / 0.7043 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.4451, allocations: 17.41 kB / 0.7043 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.4455, allocations: 182.8 kB / 0.7045 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.4472, allocations: 0.8501 MB / 0.7053 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.448, allocations: 372.8 kB / 0.7057 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.4485, allocations: 0.6851 MB / 0.7063 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.4488, allocations: 200.3 kB / 0.7065 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.4498, allocations: 0.8146 MB / 0.7073 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.45, allocations: 240.3 kB / 0.7075 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.4501, allocations: 23.38 kB / 0.7076 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.4505, allocations: 289.5 kB / 0.7078 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.4505, allocations: 117.2 kB / 0.7079 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.4506, allocations: 115.1 kB / 0.7081 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.451, allocations: 471.1 kB / 0.7085 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.451, allocations: 7.969 kB / 0.7085 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.764e-06/0.451, allocations: 0 / 0.7085 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.451, allocations: 0 / 0.7085 GB, free: 2.562 MB / 0.5573 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.000561/0.4516, allocations: 0.5427 MB / 0.709 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4516, allocations: 14.09 kB / 0.7091 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.4517, allocations: 59.86 kB / 0.7091 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.4519, allocations: 70.88 kB / 0.7092 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.4522, allocations: 250.5 kB / 0.7094 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4522, allocations: 19.59 kB / 0.7094 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.4522, allocations: 24.88 kB / 0.7095 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.4525, allocations: 318.4 kB / 0.7098 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4526, allocations: 7.922 kB / 0.7098 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4526, allocations: 12.89 kB / 0.7098 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4526, allocations: 10.03 kB / 0.7098 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.4528, allocations: 197.6 kB / 0.71 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.4536, allocations: 1.19 MB / 0.7111 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4538, allocations: 111.2 kB / 0.7113 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4539, allocations: 84.47 kB / 0.7113 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.4542, allocations: 81.75 kB / 0.7114 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4542, allocations: 34.5 kB / 0.7114 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.4542, allocations: 0 / 0.7114 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.000476/0.4546, allocations: 272.4 kB / 0.7117 GB, free: 432 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.4547, allocations: 54.22 kB / 0.7118 GB, free: 368 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.4549, allocations: 312.3 kB / 0.7121 GB, free: 196 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4549, allocations: 29.7 kB / 0.7121 GB, free: 160 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.455, allocations: 180.2 kB / 0.7123 GB, free: 4 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.455, allocations: 42.91 kB / 0.7123 GB, free: 15.97 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.4551, allocations: 39.16 kB / 0.7123 GB, free: 15.94 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4552, allocations: 340.5 kB / 0.7127 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.4552, allocations: 58.55 kB / 0.7127 GB, free: 15.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4556, allocations: 197.2 kB / 0.7129 GB, free: 15.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4557, allocations: 174.4 kB / 0.7131 GB, free: 15.34 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4557, allocations: 7.688 kB / 0.7131 GB, free: 15.33 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002288/0.456, allocations: 220.9 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.456, allocations: 8.391 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.456, allocations: 0 / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.456, allocations: 2.875 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4561, allocations: 35.64 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4561, allocations: 0 / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.4562, allocations: 36.09 kB / 0.7134 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.4562, allocations: 10.75 kB / 0.7134 GB, free: 15.2 MB / 0.573 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 9.289e-05/0.4563, allocations: 149.1 kB / 0.7135 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4563, allocations: 27.28 kB / 0.7135 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4566, allocations: 213.8 kB / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4566, allocations: 0.5312 kB / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4566, allocations: 1.688 kB / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4566, allocations: 10.41 kB / 0.7138 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.4572, allocations: 0.6281 MB / 0.7144 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4572, allocations: 3.031 kB / 0.7144 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.4573, allocations: 39.05 kB / 0.7144 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4573, allocations: 2.75 kB / 0.7144 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4573, allocations: 7.031 kB / 0.7144 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.4573, allocations: 6.531 kB / 0.7144 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4573, allocations: 0 / 0.7144 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4575, allocations: 331.1 kB / 0.7147 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.4576, allocations: 41.84 kB / 0.7148 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.4576, allocations: 6.969 kB / 0.7148 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4577, allocations: 13.52 kB / 0.7148 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.4577, allocations: 13.55 kB / 0.7148 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.4577, allocations: 13.62 kB / 0.7148 GB, free: 14.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001357/0.4579, allocations: 218.3 kB / 0.715 GB, free: 14.06 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.4579, allocations: 2.906 kB / 0.715 GB, free: 14.06 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002538/0.4581, allocations: 77.81 kB / 0.7151 GB, free: 14.04 MB / 0.573 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.0005408/0.4587, allocations: 0.9057 MB / 0.716 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.4589, allocations: 146.8 kB / 0.7161 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4589, allocations: 0 / 0.7161 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.459, allocations: 86.72 kB / 0.7162 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.4594, allocations: 139.2 kB / 0.7164 GB, free: 13.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4616, allocations: 2.799 MB / 0.7191 GB, free: 10.92 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4617, allocations: 174.5 kB / 0.7193 GB, free: 10.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.4618, allocations: 64.89 kB / 0.7193 GB, free: 10.76 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.4619, allocations: 92.84 kB / 0.7194 GB, free: 10.69 MB / 0.573 GB Notification: Performance of SimCode: time 4.61e-07/0.4619, allocations: 0 / 0.7194 GB, free: 10.69 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.4842, allocations: 9.076 MB / 0.7283 GB, free: 6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/7.401, allocations: 8 kB / 0.7283 GB, free: 5.992 MB / 0.573 GB " [Timeout remaining time 653] (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: 9.907213581725955] Failed to read output from testmodel.py, exit status != 0: 7.481804918497801 7.491233738 7.038352744 Calling exit ...