Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.001309/0.001309, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002157/0.002157, allocations: 214.7 kB / 22.99 MB, free: 4.977 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9332/0.9332, allocations: 149.9 MB / 463 MB, free: 10.36 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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001948/0.001948, allocations: 63.16 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1856, allocations: 89.18 MB / 0.7282 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.566/0.7517, allocations: 142.2 MB / 0.867 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006315/0.758, allocations: 4.188 MB / 0.8711 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.7584, allocations: 15.88 kB / 0.8711 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.759, allocations: 131.1 kB / 0.8713 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.7601, allocations: 342.5 kB / 0.8716 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.761, allocations: 287.3 kB / 0.8719 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008242/0.7618, allocations: 0.569 MB / 0.8724 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.7622, allocations: 157.4 kB / 0.8726 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.7639, allocations: 0.6578 MB / 0.8732 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.7643, allocations: 199.2 kB / 0.8734 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.7644, allocations: 16 kB / 0.8734 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.7646, allocations: 79.94 kB / 0.8735 GB, free: 368 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.7647, allocations: 91.7 kB / 0.8736 GB, free: 276 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.7649, allocations: 103.5 kB / 0.8737 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.7653, allocations: 296.9 kB / 0.874 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7653, allocations: 0 / 0.874 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7653, allocations: 0 / 0.874 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.7654, allocations: 0 / 0.874 GB, free: 15.88 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000967/0.7663, allocations: 480.7 kB / 0.8744 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7664, allocations: 15.97 kB / 0.8744 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.7664, allocations: 50.55 kB / 0.8745 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.7665, allocations: 27.86 kB / 0.8745 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.767, allocations: 225.6 kB / 0.8747 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.767, allocations: 12 kB / 0.8747 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.767, allocations: 20 kB / 0.8748 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.7675, allocations: 265.8 kB / 0.875 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7675, allocations: 4.5 kB / 0.875 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.7675, allocations: 8 kB / 0.875 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.7675, allocations: 4 kB / 0.875 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.7679, allocations: 152.5 kB / 0.8752 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.7694, allocations: 1.289 MB / 0.8764 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.7698, allocations: 184.2 kB / 0.8766 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.77, allocations: 93.05 kB / 0.8767 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.7703, allocations: 43.89 kB / 0.8767 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7703, allocations: 42.55 kB / 0.8768 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 3.417e-06/0.7703, allocations: 7.984 kB / 0.8768 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000647/0.771, allocations: 209.9 kB / 0.877 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.7711, allocations: 183.9 kB / 0.8772 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.7714, allocations: 292.8 kB / 0.8774 GB, free: 12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.7714, allocations: 29.7 kB / 0.8775 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.7716, allocations: 152 kB / 0.8776 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.7716, allocations: 43.62 kB / 0.8776 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.7717, allocations: 33.7 kB / 0.8777 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7718, allocations: 330.8 kB / 0.878 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.772, allocations: 51.89 kB / 0.878 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.7722, allocations: 215.9 kB / 0.8783 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.7726, allocations: 167.6 kB / 0.8784 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7726, allocations: 0 / 0.8784 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003968/0.773, allocations: 186.9 kB / 0.8786 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.773, allocations: 13.86 kB / 0.8786 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.773, allocations: 0 / 0.8786 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.773, allocations: 4 kB / 0.8786 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.7732, allocations: 35.92 kB / 0.8786 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7732, allocations: 7.938 kB / 0.8786 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.7733, allocations: 23.83 kB / 0.8787 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.7734, allocations: 12 kB / 0.8787 GB, free: 10.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001524/0.7735, allocations: 149.8 kB / 0.8788 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.7736, allocations: 31.78 kB / 0.8789 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.774, allocations: 130.5 kB / 0.879 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.774, allocations: 4 kB / 0.879 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.774, allocations: 0 / 0.879 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.774, allocations: 4 kB / 0.879 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.7749, allocations: 0.7292 MB / 0.8797 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7749, allocations: 4.156 kB / 0.8797 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.775, allocations: 27.97 kB / 0.8797 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.775, allocations: 0 / 0.8797 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.775, allocations: 4 kB / 0.8797 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.775, allocations: 3.938 kB / 0.8797 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.775, allocations: 4 kB / 0.8797 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.7756, allocations: 340.7 kB / 0.8801 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.7757, allocations: 39.88 kB / 0.8801 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.7757, allocations: 0 / 0.8801 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.7759, allocations: 15.98 kB / 0.8801 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.7759, allocations: 11.92 kB / 0.8801 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.7759, allocations: 4 kB / 0.8801 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002267/0.7761, allocations: 211.1 kB / 0.8803 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7761, allocations: 0 / 0.8803 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003416/0.7765, allocations: 55.89 kB / 0.8804 GB, free: 8.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.001042/0.7775, allocations: 0.8961 MB / 0.8813 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.7779, allocations: 120.3 kB / 0.8814 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.7779, allocations: 4 kB / 0.8814 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.778, allocations: 60.7 kB / 0.8814 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.7788, allocations: 126.3 kB / 0.8816 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.7823, allocations: 2.604 MB / 0.8841 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.7825, allocations: 142.2 kB / 0.8842 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.7828, allocations: 62.86 kB / 0.8843 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.7829, allocations: 67.42 kB / 0.8844 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7829, allocations: 0 / 0.8844 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.8225, allocations: 7.84 MB / 0.892 GB, free: 12.89 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.88, allocations: 0.6562 kB / 0.892 GB, free: 12.89 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.573041947092861] Failed to read output from testmodel.py, exit status != 0: 11.993482777383178 12.019083716 11.249101866 Calling exit ...