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.001262/0.001262, 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.001504/0.001504, allocations: 222.4 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.957 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 1.009/1.009, allocations: 150 MB / 463.2 MB, free: 10.52 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.002197/0.002197, allocations: 67.48 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.187, allocations: 89.17 MB / 0.7284 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5951/0.7821, allocations: 164.9 MB / 0.8894 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006635/0.7887, allocations: 4.621 MB / 0.8939 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.7892, allocations: 11.88 kB / 0.8939 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.7898, allocations: 139.1 kB / 0.894 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.7911, allocations: 346.4 kB / 0.8944 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.7921, allocations: 290.8 kB / 0.8947 GB, free: 13.04 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009646/0.7931, allocations: 0.5651 MB / 0.8952 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.7935, allocations: 157.4 kB / 0.8954 GB, free: 12.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7954, allocations: 0.6966 MB / 0.896 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.7958, allocations: 195.2 kB / 0.8962 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.7959, allocations: 16 kB / 0.8962 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.7961, allocations: 83.92 kB / 0.8963 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.7963, allocations: 87.72 kB / 0.8964 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.7965, allocations: 123.3 kB / 0.8965 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.797, allocations: 308.8 kB / 0.8968 GB, free: 10.83 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.797, allocations: 3.938 kB / 0.8968 GB, free: 10.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.797, allocations: 0 / 0.8968 GB, free: 10.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.797, allocations: 0 / 0.8968 GB, free: 10.82 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0011/0.7981, allocations: 476.7 kB / 0.8973 GB, free: 10.33 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7982, allocations: 8.031 kB / 0.8973 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.386e-05/0.7983, allocations: 54.55 kB / 0.8973 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.7984, allocations: 23.86 kB / 0.8974 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.7988, allocations: 229.6 kB / 0.8976 GB, free: 9.984 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.7989, allocations: 12 kB / 0.8976 GB, free: 9.973 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.7989, allocations: 24.92 kB / 0.8976 GB, free: 9.949 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.7994, allocations: 269.7 kB / 0.8979 GB, free: 9.648 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7995, allocations: 0 / 0.8979 GB, free: 9.648 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.7995, allocations: 8 kB / 0.8979 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.7995, allocations: 4 kB / 0.8979 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.7999, allocations: 151.8 kB / 0.898 GB, free: 9.488 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.8014, allocations: 1.324 MB / 0.8993 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.8017, allocations: 183.7 kB / 0.8995 GB, free: 7.848 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.8019, allocations: 93.05 kB / 0.8996 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.8022, allocations: 43.94 kB / 0.8996 GB, free: 7.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.8023, allocations: 43.23 kB / 0.8997 GB, free: 7.645 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.8023, allocations: 4 kB / 0.8997 GB, free: 7.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006384/0.8029, allocations: 205.9 kB / 0.8999 GB, free: 7.434 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.803, allocations: 187.9 kB / 0.9 GB, free: 7.207 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.8034, allocations: 292.2 kB / 0.9003 GB, free: 6.914 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.8034, allocations: 25.7 kB / 0.9003 GB, free: 6.883 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.8035, allocations: 155.9 kB / 0.9005 GB, free: 6.727 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.8036, allocations: 47.62 kB / 0.9005 GB, free: 6.68 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.8037, allocations: 29.72 kB / 0.9006 GB, free: 6.645 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8038, allocations: 342.8 kB / 0.9009 GB, free: 6.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.8039, allocations: 43.95 kB / 0.9009 GB, free: 6.258 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.8042, allocations: 109.6 kB / 0.901 GB, free: 6.125 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.8045, allocations: 163.2 kB / 0.9012 GB, free: 5.941 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8045, allocations: 4 kB / 0.9012 GB, free: 5.938 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004115/0.8049, allocations: 189.7 kB / 0.9014 GB, free: 5.746 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8049, allocations: 10.66 kB / 0.9014 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8049, allocations: 0.75 kB / 0.9014 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.8049, allocations: 4 kB / 0.9014 GB, free: 5.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.8051, allocations: 36.19 kB / 0.9014 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8051, allocations: 7.875 kB / 0.9014 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.8053, allocations: 27.83 kB / 0.9015 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.8053, allocations: 12.62 kB / 0.9015 GB, free: 5.652 MB / 0.67 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.0001657/0.8055, allocations: 143.7 kB / 0.9016 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.8056, allocations: 27.8 kB / 0.9016 GB, free: 5.477 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.806, allocations: 142 kB / 0.9018 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.806, allocations: 4 kB / 0.9018 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.806, allocations: 0 / 0.9018 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.806, allocations: 0 / 0.9018 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.8069, allocations: 0.7449 MB / 0.9025 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.8069, allocations: 4 kB / 0.9025 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.8071, allocations: 23.92 kB / 0.9025 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.8071, allocations: 4.031 kB / 0.9025 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8071, allocations: 4 kB / 0.9025 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.8071, allocations: 7.984 kB / 0.9026 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8071, allocations: 0 / 0.9026 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.8077, allocations: 335.5 kB / 0.9029 GB, free: 4.113 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.8077, allocations: 35.86 kB / 0.9029 GB, free: 4.078 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.8078, allocations: 11.94 kB / 0.9029 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.8079, allocations: 8.062 kB / 0.9029 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.808, allocations: 11.92 kB / 0.9029 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.808, allocations: 11.94 kB / 0.9029 GB, free: 4.035 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002325/0.8082, allocations: 215 kB / 0.9032 GB, free: 3.828 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8082, allocations: 0 / 0.9032 GB, free: 3.828 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003702/0.8086, allocations: 55.89 kB / 0.9032 GB, free: 3.773 MB / 0.67 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.001059/0.8096, allocations: 0.8956 MB / 0.9041 GB, free: 2.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.81, allocations: 119.9 kB / 0.9042 GB, free: 2.723 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.81, allocations: 0 / 0.9042 GB, free: 2.723 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.8102, allocations: 56.59 kB / 0.9042 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.8109, allocations: 125.4 kB / 0.9044 GB, free: 2.547 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.8146, allocations: 2.604 MB / 0.9069 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.8151, allocations: 0.7518 MB / 0.9076 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.8152, allocations: 59.58 kB / 0.9077 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.8153, allocations: 67.42 kB / 0.9078 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.8153, allocations: 0 / 0.9078 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.8523, allocations: 7.04 MB / 0.9146 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.51, allocations: 6.922 kB / 0.9146 GB, free: 8.066 MB / 0.6856 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.35602471115999] Failed to read output from testmodel.py, exit status != 0: 11.615881448844448 11.642793734 10.840171501 Calling exit ...