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.001749/0.001749, allocations: 97.91 kB / 20.48 MB, free: 1.215 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.002888/0.002888, allocations: 218.9 kB / 23.78 MB, free: 4.156 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.488/1.488, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.9446/0.9446, allocations: 150 MB / 464 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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001929/0.001929, allocations: 62.66 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1973, allocations: 89.17 MB / 0.7291 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5789/0.7762, allocations: 142.1 MB / 0.8678 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005941/0.7821, allocations: 4.181 MB / 0.8719 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.7825, allocations: 15.88 kB / 0.8719 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.7831, allocations: 139 kB / 0.8721 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.7843, allocations: 346.4 kB / 0.8724 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.7853, allocations: 283.4 kB / 0.8727 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.7862, allocations: 0.5651 MB / 0.8732 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.7867, allocations: 157.5 kB / 0.8734 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.7886, allocations: 0.6655 MB / 0.874 GB, free: 392 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.7891, allocations: 199.2 kB / 0.8742 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.7891, allocations: 16 kB / 0.8742 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.7894, allocations: 91.91 kB / 0.8743 GB, free: 84 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.7895, allocations: 87.8 kB / 0.8744 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.7897, allocations: 95.55 kB / 0.8745 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.7902, allocations: 300.7 kB / 0.8748 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7902, allocations: 0 / 0.8748 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7902, allocations: 0 / 0.8748 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.7902, allocations: 4 kB / 0.8748 GB, free: 15.61 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.0009567/0.7912, allocations: 480.7 kB / 0.8752 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7912, allocations: 12.03 kB / 0.8752 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.7913, allocations: 4 kB / 0.8752 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.7913, allocations: 50.55 kB / 0.8753 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.7914, allocations: 31.8 kB / 0.8753 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.7919, allocations: 225.6 kB / 0.8755 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.792, allocations: 16 kB / 0.8755 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.792, allocations: 16 kB / 0.8756 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.7925, allocations: 269.8 kB / 0.8758 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7925, allocations: 0 / 0.8758 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.7925, allocations: 12 kB / 0.8758 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.7926, allocations: 4 kB / 0.8758 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.7929, allocations: 153.8 kB / 0.876 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.7944, allocations: 1.293 MB / 0.8772 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.7947, allocations: 187.6 kB / 0.8774 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.7949, allocations: 89.11 kB / 0.8775 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.7953, allocations: 43.95 kB / 0.8775 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.7953, allocations: 43.11 kB / 0.8776 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.7953, allocations: 0 / 0.8776 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000648/0.796, allocations: 213.8 kB / 0.8778 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.7961, allocations: 183.9 kB / 0.878 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.7964, allocations: 288.2 kB / 0.8782 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.7964, allocations: 33.64 kB / 0.8783 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.7965, allocations: 147.9 kB / 0.8784 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.7966, allocations: 44.25 kB / 0.8785 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.7967, allocations: 33.7 kB / 0.8785 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7968, allocations: 334.8 kB / 0.8788 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7969, allocations: 51.89 kB / 0.8789 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.7972, allocations: 219.8 kB / 0.8791 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.7975, allocations: 159.2 kB / 0.8792 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7975, allocations: 5.875 kB / 0.8792 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000393/0.7979, allocations: 185.3 kB / 0.8794 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7979, allocations: 11.98 kB / 0.8794 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.7979, allocations: 4.219 kB / 0.8794 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7979, allocations: 4 kB / 0.8794 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7981, allocations: 31.92 kB / 0.8795 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7981, allocations: 4 kB / 0.8795 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.7983, allocations: 23.83 kB / 0.8795 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.7983, allocations: 12 kB / 0.8795 GB, free: 10.34 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.0001464/0.7984, allocations: 151.6 kB / 0.8796 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.7986, allocations: 31.84 kB / 0.8797 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.7989, allocations: 127.9 kB / 0.8798 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.7989, allocations: 4 kB / 0.8798 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7989, allocations: 2.375 kB / 0.8798 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.7989, allocations: 4 kB / 0.8798 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.7998, allocations: 0.7292 MB / 0.8805 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.7998, allocations: 0 / 0.8805 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.7999, allocations: 27.97 kB / 0.8805 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7999, allocations: 4.156 kB / 0.8805 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7999, allocations: 4 kB / 0.8805 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7999, allocations: 0 / 0.8805 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.7999, allocations: 11.92 kB / 0.8806 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.8005, allocations: 339.5 kB / 0.8809 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.8005, allocations: 31.88 kB / 0.8809 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.8006, allocations: 4 kB / 0.8809 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.8007, allocations: 16.05 kB / 0.8809 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.8008, allocations: 11.92 kB / 0.8809 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.8008, allocations: 8.094 kB / 0.8809 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002034/0.801, allocations: 215 kB / 0.8812 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.801, allocations: 0 / 0.8812 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003349/0.8013, allocations: 51.89 kB / 0.8812 GB, free: 8.473 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.0009577/0.8023, allocations: 0.9037 MB / 0.8821 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.8026, allocations: 120.7 kB / 0.8822 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8026, allocations: 0 / 0.8822 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.8027, allocations: 55.89 kB / 0.8823 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.8035, allocations: 131.1 kB / 0.8824 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.8069, allocations: 2.6 MB / 0.8849 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.807, allocations: 146.2 kB / 0.8851 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.8072, allocations: 54.88 kB / 0.8851 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.8073, allocations: 67.42 kB / 0.8852 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of SimCode: time 9.21e-07/0.8073, allocations: 4 kB / 0.8852 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.8381, allocations: 7.475 MB / 0.8925 GB, free: 13.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.99, allocations: 9.562 kB / 0.8925 GB, free: 13.02 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.915659819962457] Failed to read output from testmodel.py, exit status != 0: 12.145315088098869 12.161315409 11.367892922 Calling exit ...