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.001353/0.001353, allocations: 119 kB / 19.69 MB, free: 2.199 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.001774/0.001774, allocations: 222.2 kB / 23.01 MB, free: 5.047 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9153/0.9153, allocations: 150 MB / 463.2 MB, free: 10.45 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="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: 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.002162/0.002162, allocations: 79.53 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1769, allocations: 89.16 MB / 0.7284 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5583/0.7352, allocations: 171.2 MB / 0.8955 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00841/0.7436, allocations: 6.645 MB / 0.902 GB, free: 5.426 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.744, allocations: 15.88 kB / 0.902 GB, free: 5.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005975/0.7446, allocations: 170.7 kB / 0.9022 GB, free: 5.242 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.7469, allocations: 0.8829 MB / 0.903 GB, free: 4.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.7478, allocations: 355 kB / 0.9034 GB, free: 4.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.7489, allocations: 0.7251 MB / 0.9041 GB, free: 3.285 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.7493, allocations: 219.3 kB / 0.9043 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.7509, allocations: 0.7317 MB / 0.905 GB, free: 2.332 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.7514, allocations: 279 kB / 0.9053 GB, free: 2.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.7515, allocations: 20 kB / 0.9053 GB, free: 2.039 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.7522, allocations: 363.2 kB / 0.9056 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.7523, allocations: 119.6 kB / 0.9058 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.7525, allocations: 159.2 kB / 0.9059 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.7533, allocations: 472.2 kB / 0.9064 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7533, allocations: 3.984 kB / 0.9064 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7533, allocations: 0 / 0.9064 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.7533, allocations: 4 kB / 0.9064 GB, free: 0.9453 MB / 0.67 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.0009105/0.7542, allocations: 0.5515 MB / 0.9069 GB, free: 372 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7543, allocations: 12.03 kB / 0.9069 GB, free: 360 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.7543, allocations: 62.53 kB / 0.907 GB, free: 288 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.7546, allocations: 71.61 kB / 0.907 GB, free: 220 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.7552, allocations: 259.6 kB / 0.9073 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.7552, allocations: 20.66 kB / 0.9073 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.7552, allocations: 24 kB / 0.9073 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.7558, allocations: 316.9 kB / 0.9076 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7558, allocations: 4 kB / 0.9076 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.7558, allocations: 11.94 kB / 0.9077 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.7558, allocations: 11.94 kB / 0.9077 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.7563, allocations: 201.6 kB / 0.9079 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.7579, allocations: 1.5 MB / 0.9093 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.7582, allocations: 106.5 kB / 0.9094 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.7584, allocations: 88.8 kB / 0.9095 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/0.7588, allocations: 72.17 kB / 0.9096 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7589, allocations: 38.56 kB / 0.9096 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.7589, allocations: 0 / 0.9096 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007464/0.7596, allocations: 269.3 kB / 0.9099 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.7597, allocations: 51.41 kB / 0.9099 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.76, allocations: 312.5 kB / 0.9102 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.76, allocations: 33.7 kB / 0.9103 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.7602, allocations: 184.2 kB / 0.9104 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.7602, allocations: 43.64 kB / 0.9105 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.7603, allocations: 37.7 kB / 0.9105 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7604, allocations: 346.8 kB / 0.9108 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.7606, allocations: 56.58 kB / 0.9109 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.7608, allocations: 113 kB / 0.911 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.7611, allocations: 183.6 kB / 0.9112 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7611, allocations: 3.938 kB / 0.9112 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004345/0.7615, allocations: 221.3 kB / 0.9114 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7615, allocations: 8 kB / 0.9114 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7615, allocations: 0 / 0.9114 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7616, allocations: 4 kB / 0.9114 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.7617, allocations: 27.98 kB / 0.9114 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.7617, allocations: 11.92 kB / 0.9114 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.7619, allocations: 27.78 kB / 0.9115 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.7619, allocations: 11.98 kB / 0.9115 GB, free: 11.39 MB / 0.6856 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.0001466/0.7621, allocations: 149.9 kB / 0.9116 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.7621, allocations: 31.81 kB / 0.9116 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.7626, allocations: 204.8 kB / 0.9118 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7626, allocations: 7.938 kB / 0.9119 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7626, allocations: 2.938 kB / 0.9119 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7626, allocations: 3.984 kB / 0.9119 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7636, allocations: 0.6553 MB / 0.9125 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.7636, allocations: 4.219 kB / 0.9125 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.7638, allocations: 31.91 kB / 0.9125 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7638, allocations: 11.88 kB / 0.9125 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.7638, allocations: 8 kB / 0.9126 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.7638, allocations: 4 kB / 0.9126 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7638, allocations: 0 / 0.9126 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.7642, allocations: 332.3 kB / 0.9129 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.7643, allocations: 43.78 kB / 0.9129 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.7643, allocations: 7.938 kB / 0.9129 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.7645, allocations: 15.98 kB / 0.9129 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.7645, allocations: 11.98 kB / 0.9129 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.7646, allocations: 4 kB / 0.913 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002186/0.7648, allocations: 227 kB / 0.9132 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7648, allocations: 3.938 kB / 0.9132 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003693/0.7651, allocations: 75.83 kB / 0.9132 GB, free: 9.461 MB / 0.6856 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.0008927/0.766, allocations: 0.9093 MB / 0.9141 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.7664, allocations: 147.8 kB / 0.9143 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7664, allocations: 0 / 0.9143 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.7666, allocations: 79.88 kB / 0.9143 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.7674, allocations: 154.6 kB / 0.9145 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.7709, allocations: 2.822 MB / 0.9173 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.7713, allocations: 0.7795 MB / 0.918 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.7715, allocations: 58.95 kB / 0.9181 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.7717, allocations: 91.41 kB / 0.9182 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.7717, allocations: 0 / 0.9182 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.8105, allocations: 8.312 MB / 0.9263 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.64, allocations: 6.25 kB / 0.9263 GB, free: 12.14 MB / 0.7012 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.261984135955572] Failed to read output from testmodel.py, exit status != 0: 11.743267914978787 11.759706991 11.003024234 Calling exit ...