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.001791/0.001791, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.002507/0.002507, allocations: 219.1 kB / 22.99 MB, free: 4.969 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9247/0.9247, allocations: 149.9 MB / 463 MB, free: 10.37 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.002091/0.002091, allocations: 67.17 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1787, allocations: 89.18 MB / 0.7282 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5073/0.686, allocations: 147.8 MB / 0.8725 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007855/0.6938, allocations: 5.997 MB / 0.8784 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.6942, allocations: 15.88 kB / 0.8784 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.6948, allocations: 178.7 kB / 0.8785 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.6968, allocations: 0.8363 MB / 0.8794 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.6977, allocations: 346.8 kB / 0.8797 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008916/0.6986, allocations: 0.7134 MB / 0.8804 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.699, allocations: 219.3 kB / 0.8806 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.7006, allocations: 0.7239 MB / 0.8813 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.701, allocations: 266.9 kB / 0.8816 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.7011, allocations: 24 kB / 0.8816 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.7017, allocations: 287.3 kB / 0.8818 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.7018, allocations: 111.6 kB / 0.882 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.702, allocations: 127.4 kB / 0.8821 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.7027, allocations: 480.1 kB / 0.8825 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7027, allocations: 0 / 0.8825 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7027, allocations: 3.938 kB / 0.8825 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7027, allocations: 0 / 0.8825 GB, free: 7.176 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.0008859/0.7036, allocations: 0.5477 MB / 0.8831 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7036, allocations: 8.031 kB / 0.8831 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.7037, allocations: 70.47 kB / 0.8831 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.704, allocations: 64.8 kB / 0.8832 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.7045, allocations: 255.6 kB / 0.8835 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.7045, allocations: 24.66 kB / 0.8835 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.7045, allocations: 24 kB / 0.8835 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.7051, allocations: 316.9 kB / 0.8838 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7051, allocations: 4 kB / 0.8838 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.7051, allocations: 8 kB / 0.8838 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.7051, allocations: 11.94 kB / 0.8838 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.7056, allocations: 201.6 kB / 0.884 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.7071, allocations: 1.202 MB / 0.8852 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.7073, allocations: 114.5 kB / 0.8853 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.7075, allocations: 77.44 kB / 0.8854 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.708, allocations: 79.91 kB / 0.8855 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.708, allocations: 34.56 kB / 0.8855 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.708, allocations: 3.938 kB / 0.8855 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007506/0.7087, allocations: 273.6 kB / 0.8857 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7088, allocations: 55.41 kB / 0.8858 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.7091, allocations: 308.5 kB / 0.8861 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.7091, allocations: 29.69 kB / 0.8861 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.7093, allocations: 196.2 kB / 0.8863 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.7093, allocations: 43.58 kB / 0.8864 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.7094, allocations: 37.72 kB / 0.8864 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7096, allocations: 346.7 kB / 0.8867 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.7097, allocations: 53.58 kB / 0.8868 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.71, allocations: 202.1 kB / 0.887 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.7103, allocations: 170.2 kB / 0.8871 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7103, allocations: 0 / 0.8871 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004338/0.7108, allocations: 223.5 kB / 0.8873 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7108, allocations: 4 kB / 0.8873 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7108, allocations: 4 kB / 0.8873 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7108, allocations: 3.984 kB / 0.8874 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.711, allocations: 39.92 kB / 0.8874 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.711, allocations: 0.75 kB / 0.8874 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.7112, allocations: 31.92 kB / 0.8874 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.7112, allocations: 12 kB / 0.8874 GB, free: 1.879 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.0001533/0.7113, allocations: 153.7 kB / 0.8876 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.7114, allocations: 27.81 kB / 0.8876 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.7118, allocations: 205 kB / 0.8878 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.7119, allocations: 0 / 0.8878 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7119, allocations: 4 kB / 0.8878 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7119, allocations: 4.75 kB / 0.8878 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.7129, allocations: 0.6435 MB / 0.8884 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7129, allocations: 0 / 0.8884 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.7131, allocations: 27.3 kB / 0.8885 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.7131, allocations: 7.938 kB / 0.8885 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.7131, allocations: 4 kB / 0.8885 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7131, allocations: 8.203 kB / 0.8885 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7131, allocations: 7.938 kB / 0.8885 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.7136, allocations: 334.7 kB / 0.8888 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.7137, allocations: 35.84 kB / 0.8888 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.7137, allocations: 11.92 kB / 0.8889 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.7139, allocations: 4 kB / 0.8889 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.7139, allocations: 23.91 kB / 0.8889 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.7139, allocations: 4 kB / 0.8889 GB, free: 280 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002257/0.7142, allocations: 227.1 kB / 0.8891 GB, free: 56 kB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7142, allocations: 0 / 0.8891 GB, free: 56 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003981/0.7146, allocations: 87.75 kB / 0.8892 GB, free: 15.96 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.0009819/0.7156, allocations: 0.9015 MB / 0.8901 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.716, allocations: 147.8 kB / 0.8902 GB, free: 14.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.716, allocations: 0 / 0.8902 GB, free: 14.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.7162, allocations: 88.56 kB / 0.8903 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.717, allocations: 159.5 kB / 0.8904 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.7207, allocations: 2.811 MB / 0.8932 GB, free: 11.68 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.7209, allocations: 167.8 kB / 0.8933 GB, free: 11.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.7211, allocations: 62.5 kB / 0.8934 GB, free: 11.44 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.7213, allocations: 95.41 kB / 0.8935 GB, free: 11.34 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.7213, allocations: 0 / 0.8935 GB, free: 11.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.7591, allocations: 9.202 MB / 0.9025 GB, free: 2.426 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.81, allocations: 4.156 kB / 0.9025 GB, free: 2.426 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.485360072925687] Failed to read output from testmodel.py, exit status != 0: 11.921018557157367 11.947737545 11.240199391 Calling exit ...