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.001397/0.001397, allocations: 109 kB / 20.48 MB, free: 1.473 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.001577/0.001577, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.412/1.412, allocations: 230.6 MB / 257.6 MB, free: 8.027 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.9334/0.9334, allocations: 150 MB / 464 MB, free: 10.45 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.002023/0.002023, allocations: 69.05 kB / 0.642 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1861, allocations: 89.17 MB / 0.7291 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6036/0.7896, allocations: 164.9 MB / 0.8902 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005755/0.7954, allocations: 4.616 MB / 0.8947 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.7958, allocations: 15.88 kB / 0.8947 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.7962, allocations: 123.1 kB / 0.8948 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.7971, allocations: 350.4 kB / 0.8951 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.7979, allocations: 299.5 kB / 0.8954 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.7986, allocations: 0.5651 MB / 0.896 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.7989, allocations: 153.4 kB / 0.8961 GB, free: 12.33 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.8004, allocations: 0.6927 MB / 0.8968 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.8007, allocations: 195.3 kB / 0.897 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.8007, allocations: 16 kB / 0.897 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.8009, allocations: 95.86 kB / 0.8971 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.801, allocations: 91.7 kB / 0.8972 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.8011, allocations: 115.4 kB / 0.8973 GB, free: 11.13 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.8015, allocations: 292.9 kB / 0.8976 GB, free: 10.85 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.8015, allocations: 0 / 0.8976 GB, free: 10.85 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8015, allocations: 0 / 0.8976 GB, free: 10.85 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8016, allocations: 3.938 kB / 0.8976 GB, free: 10.85 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.0008525/0.8024, allocations: 488.7 kB / 0.898 GB, free: 10.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.8025, allocations: 12.03 kB / 0.8981 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.001e-05/0.8025, allocations: 4.625 kB / 0.8981 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.8025, allocations: 46.55 kB / 0.8981 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.8026, allocations: 31.8 kB / 0.8981 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.803, allocations: 225.6 kB / 0.8983 GB, free: 9.992 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.803, allocations: 16.62 kB / 0.8984 GB, free: 9.977 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.8031, allocations: 16 kB / 0.8984 GB, free: 9.961 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.8035, allocations: 269.8 kB / 0.8986 GB, free: 9.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.8035, allocations: 7.938 kB / 0.8986 GB, free: 9.652 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.8035, allocations: 4 kB / 0.8986 GB, free: 9.648 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8035, allocations: 4 kB / 0.8986 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.8039, allocations: 148.9 kB / 0.8988 GB, free: 9.5 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.8053, allocations: 1.337 MB / 0.9001 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.8056, allocations: 183.6 kB / 0.9003 GB, free: 7.848 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.8058, allocations: 97.05 kB / 0.9004 GB, free: 7.734 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.8061, allocations: 35.95 kB / 0.9004 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.8061, allocations: 46.55 kB / 0.9004 GB, free: 7.645 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.8061, allocations: 3.938 kB / 0.9004 GB, free: 7.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006471/0.8068, allocations: 206.1 kB / 0.9006 GB, free: 7.434 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.8069, allocations: 188.5 kB / 0.9008 GB, free: 7.207 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.8072, allocations: 292.2 kB / 0.9011 GB, free: 6.914 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.8072, allocations: 29.7 kB / 0.9011 GB, free: 6.879 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.8073, allocations: 147.9 kB / 0.9013 GB, free: 6.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.8074, allocations: 43.56 kB / 0.9013 GB, free: 6.688 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.8074, allocations: 33.72 kB / 0.9013 GB, free: 6.648 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8076, allocations: 334.8 kB / 0.9017 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.8077, allocations: 47.95 kB / 0.9017 GB, free: 6.266 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.8079, allocations: 116.4 kB / 0.9018 GB, free: 6.125 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.8082, allocations: 159.2 kB / 0.902 GB, free: 5.945 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8082, allocations: 0 / 0.902 GB, free: 5.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000379/0.8086, allocations: 194.1 kB / 0.9022 GB, free: 5.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8086, allocations: 4 kB / 0.9022 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.8086, allocations: 4 kB / 0.9022 GB, free: 5.742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8086, allocations: 0 / 0.9022 GB, free: 5.742 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.8088, allocations: 35.97 kB / 0.9022 GB, free: 5.707 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.8088, allocations: 7.875 kB / 0.9022 GB, free: 5.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.8089, allocations: 31.98 kB / 0.9022 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.809, allocations: 8 kB / 0.9022 GB, free: 5.664 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.000144/0.8091, allocations: 149.7 kB / 0.9024 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.8092, allocations: 27.86 kB / 0.9024 GB, free: 5.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.8096, allocations: 131 kB / 0.9025 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.8096, allocations: 4 kB / 0.9025 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8096, allocations: 0 / 0.9025 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8096, allocations: 11.94 kB / 0.9026 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.8105, allocations: 0.7409 MB / 0.9033 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8105, allocations: 0 / 0.9033 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.8106, allocations: 23.92 kB / 0.9033 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8106, allocations: 8.156 kB / 0.9033 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.8106, allocations: 4 kB / 0.9033 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.8106, allocations: 3.984 kB / 0.9033 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8106, allocations: 7.938 kB / 0.9033 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.8112, allocations: 336.6 kB / 0.9036 GB, free: 4.113 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.8112, allocations: 31.88 kB / 0.9037 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.8113, allocations: 0 / 0.9037 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.8114, allocations: 12 kB / 0.9037 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.8114, allocations: 15.92 kB / 0.9037 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8115, allocations: 11.98 kB / 0.9037 GB, free: 4.043 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001971/0.8117, allocations: 211 kB / 0.9039 GB, free: 3.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8117, allocations: 4 kB / 0.9039 GB, free: 3.836 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003331/0.812, allocations: 55.89 kB / 0.904 GB, free: 3.781 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.0009492/0.8129, allocations: 0.8947 MB / 0.9048 GB, free: 2.848 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.8133, allocations: 119.9 kB / 0.905 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8133, allocations: 0 / 0.905 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.8134, allocations: 59.84 kB / 0.905 GB, free: 2.672 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.8142, allocations: 128.7 kB / 0.9051 GB, free: 2.551 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.8174, allocations: 2.607 MB / 0.9077 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.8178, allocations: 0.7519 MB / 0.9084 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.818, allocations: 58.23 kB / 0.9085 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.8181, allocations: 67.42 kB / 0.9085 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.8181, allocations: 0 / 0.9085 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.8492, allocations: 7.067 MB / 0.9154 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.78, allocations: 6.469 kB / 0.9154 GB, free: 8.055 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.599052671983372] Failed to read output from testmodel.py, exit status != 0: 11.952080679999199 11.967285536 11.162511545 Calling exit ...