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.00142/0.00142, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001548/0.001548, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.534/1.534, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.01/1.01, allocations: 150 MB / 460.2 MB, free: 5.301 MB / 350.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.001895/0.001895, allocations: 71.11 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1678, allocations: 89.13 MB / 0.7239 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6248/0.7926, allocations: 164.8 MB / 0.8848 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00501/0.7976, allocations: 4.582 MB / 0.8892 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.7981, allocations: 17.12 kB / 0.8892 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.7986, allocations: 122.2 kB / 0.8894 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.7995, allocations: 349.6 kB / 0.8897 GB, free: 2.848 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.8004, allocations: 280.5 kB / 0.89 GB, free: 2.836 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007702/0.8012, allocations: 0.5555 MB / 0.8905 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.8015, allocations: 171.9 kB / 0.8907 GB, free: 2.824 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.8033, allocations: 0.6841 MB / 0.8913 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.8036, allocations: 190.8 kB / 0.8915 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.8037, allocations: 16.31 kB / 0.8915 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.8039, allocations: 87.36 kB / 0.8916 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.804, allocations: 90.16 kB / 0.8917 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.8042, allocations: 118.9 kB / 0.8918 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.8047, allocations: 297.9 kB / 0.8921 GB, free: 2.785 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8047, allocations: 4 kB / 0.8921 GB, free: 2.781 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8047, allocations: 4.469 kB / 0.8921 GB, free: 2.777 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.8047, allocations: 0.5625 kB / 0.8921 GB, free: 2.777 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.001085/0.8058, allocations: 0.5451 MB / 0.8926 GB, free: 18.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.8058, allocations: 9.594 kB / 0.8926 GB, free: 18.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.754e-05/0.8059, allocations: 4.562 kB / 0.8927 GB, free: 18.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.8059, allocations: 52.08 kB / 0.8927 GB, free: 18.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.806, allocations: 30.25 kB / 0.8927 GB, free: 18.28 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.8065, allocations: 288.5 kB / 0.893 GB, free: 18.05 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.8065, allocations: 14.88 kB / 0.893 GB, free: 18.05 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.8065, allocations: 19.78 kB / 0.893 GB, free: 18.05 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.807, allocations: 267.5 kB / 0.8933 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.807, allocations: 3.719 kB / 0.8933 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.8071, allocations: 6.375 kB / 0.8933 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.8071, allocations: 8.812 kB / 0.8933 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.8075, allocations: 146.2 kB / 0.8935 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.809, allocations: 1.374 MB / 0.8948 GB, free: 16.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.8093, allocations: 180.4 kB / 0.895 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.8095, allocations: 95.38 kB / 0.8951 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.8098, allocations: 114.5 kB / 0.8952 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.8099, allocations: 45.62 kB / 0.8952 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.542e-06/0.8099, allocations: 0 / 0.8952 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0007273/0.8106, allocations: 209.1 kB / 0.8954 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.8107, allocations: 184.5 kB / 0.8956 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.8111, allocations: 292.8 kB / 0.8959 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.8111, allocations: 27.42 kB / 0.8959 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.8112, allocations: 150.4 kB / 0.896 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.8113, allocations: 38.84 kB / 0.8961 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.8113, allocations: 36.28 kB / 0.8961 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8115, allocations: 334.1 kB / 0.8964 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.8116, allocations: 44.58 kB / 0.8965 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.8118, allocations: 117 kB / 0.8966 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.8121, allocations: 164.7 kB / 0.8967 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8121, allocations: 0 / 0.8967 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003555/0.8124, allocations: 193.2 kB / 0.8969 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8124, allocations: 6.594 kB / 0.8969 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8124, allocations: 1.438 kB / 0.8969 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.8125, allocations: 7.891 kB / 0.8969 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.8126, allocations: 33.05 kB / 0.897 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.8126, allocations: 5.594 kB / 0.897 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.8128, allocations: 29.47 kB / 0.897 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.8128, allocations: 10.19 kB / 0.897 GB, free: 15.45 MB / 0.6856 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.0001481/0.8129, allocations: 153.4 kB / 0.8972 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.813, allocations: 24.61 kB / 0.8972 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.8134, allocations: 129.8 kB / 0.8973 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8134, allocations: 5.172 kB / 0.8973 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8134, allocations: 2.281 kB / 0.8973 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.8134, allocations: 1.344 kB / 0.8973 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.8142, allocations: 0.7833 MB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8142, allocations: 1.094 kB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.8144, allocations: 21.36 kB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8144, allocations: 4.062 kB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.8144, allocations: 5.188 kB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8144, allocations: 1.375 kB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8144, allocations: 8.438 kB / 0.8981 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.8149, allocations: 336.6 kB / 0.8984 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.815, allocations: 110 kB / 0.8985 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.8151, allocations: 3.125 kB / 0.8985 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.8152, allocations: 15.69 kB / 0.8986 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.8152, allocations: 14.64 kB / 0.8986 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8152, allocations: 3.469 kB / 0.8986 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001994/0.8154, allocations: 211.2 kB / 0.8988 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8154, allocations: 0 / 0.8988 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003567/0.8158, allocations: 59.91 kB / 0.8988 GB, free: 14.23 MB / 0.6856 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.0009548/0.8168, allocations: 0.8985 MB / 0.8997 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.8171, allocations: 115.9 kB / 0.8998 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8171, allocations: 0 / 0.8998 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.8172, allocations: 58.7 kB / 0.8999 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.818, allocations: 143.2 kB / 0.9 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.821, allocations: 2.608 MB / 0.9026 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.8215, allocations: 0.7527 MB / 0.9033 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.8217, allocations: 53.38 kB / 0.9034 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8218, allocations: 68.11 kB / 0.9034 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/0.8218, allocations: 0 / 0.9034 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.8482, allocations: 6.89 MB / 0.9101 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.209, allocations: 17.05 kB / 0.9102 GB, free: 10.46 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.262489065993577] Failed to read output from testmodel.py, exit status != 0: 9.334991044015624 9.352281135 8.544127317 Calling exit ...