Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001437/0.001437, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001765/0.001765, allocations: 216.1 kB / 23.78 MB, free: 4.555 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9266/0.9266, allocations: 150 MB / 464 MB, free: 10.21 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001972/0.001972, allocations: 67.19 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1786, allocations: 89.17 MB / 0.7291 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6042/0.7827, allocations: 158.4 MB / 0.8837 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.7933, allocations: 7.193 MB / 0.8908 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.7939, allocations: 23.81 kB / 0.8908 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.7948, allocations: 250.2 kB / 0.891 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.7986, allocations: 1.233 MB / 0.8922 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.8008, allocations: 0.7489 MB / 0.893 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.8025, allocations: 1.095 MB / 0.894 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007529/0.8032, allocations: 335.8 kB / 0.8944 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.8066, allocations: 1.017 MB / 0.8954 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.8075, allocations: 458.4 kB / 0.8958 GB, free: 10.21 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.8076, allocations: 36 kB / 0.8958 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.8094, allocations: 0.791 MB / 0.8966 GB, free: 9.379 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.8097, allocations: 159.5 kB / 0.8967 GB, free: 9.223 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.8101, allocations: 207.1 kB / 0.8969 GB, free: 9.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.812, allocations: 0.9109 MB / 0.8978 GB, free: 8.105 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.812, allocations: 0 / 0.8978 GB, free: 8.105 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.373e-06/0.812, allocations: 0 / 0.8978 GB, free: 8.105 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.8121, allocations: 0 / 0.8978 GB, free: 8.105 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001503/0.8136, allocations: 0.7497 MB / 0.8986 GB, free: 7.324 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8136, allocations: 12.03 kB / 0.8986 GB, free: 7.312 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.454e-05/0.8136, allocations: 9 kB / 0.8986 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.537e-05/0.8137, allocations: 74.53 kB / 0.8987 GB, free: 7.223 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.8148, allocations: 163.4 kB / 0.8988 GB, free: 7.066 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.8154, allocations: 336.4 kB / 0.8991 GB, free: 6.711 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.8155, allocations: 29 kB / 0.8992 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.8155, allocations: 36 kB / 0.8992 GB, free: 6.645 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.8164, allocations: 454.3 kB / 0.8996 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.8164, allocations: 0 / 0.8996 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.8164, allocations: 16 kB / 0.8996 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.8164, allocations: 16 kB / 0.8997 GB, free: 6.141 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.8171, allocations: 315.8 kB / 0.9 GB, free: 5.832 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.8193, allocations: 1.501 MB / 0.9014 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.8198, allocations: 225.7 kB / 0.9016 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.8201, allocations: 136.8 kB / 0.9018 GB, free: 3.902 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/0.8206, allocations: 80.31 kB / 0.9019 GB, free: 3.824 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.8206, allocations: 34.56 kB / 0.9019 GB, free: 3.781 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.8206, allocations: 0 / 0.9019 GB, free: 3.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001111/0.8217, allocations: 460.9 kB / 0.9023 GB, free: 3.324 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.8218, allocations: 51.41 kB / 0.9024 GB, free: 3.262 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.8222, allocations: 398 kB / 0.9028 GB, free: 2.863 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.8223, allocations: 37.58 kB / 0.9028 GB, free: 2.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.8225, allocations: 228.6 kB / 0.903 GB, free: 2.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.8226, allocations: 91.22 kB / 0.9031 GB, free: 2.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.8227, allocations: 49.7 kB / 0.9031 GB, free: 2.445 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8228, allocations: 358.7 kB / 0.9035 GB, free: 2.086 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.8231, allocations: 107.9 kB / 0.9036 GB, free: 1.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.8234, allocations: 263.9 kB / 0.9038 GB, free: 1.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.824, allocations: 301.7 kB / 0.9041 GB, free: 1.363 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.824, allocations: 0 / 0.9041 GB, free: 1.363 MB / 0.67 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000681/0.8247, allocations: 376.9 kB / 0.9045 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8247, allocations: 4 kB / 0.9045 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8247, allocations: 4 kB / 0.9045 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8247, allocations: 0 / 0.9045 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.825, allocations: 63.91 kB / 0.9046 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.825, allocations: 8.156 kB / 0.9046 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.8253, allocations: 47.66 kB / 0.9046 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.8253, allocations: 12 kB / 0.9046 GB, free: 0.8516 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 (31): * Single equations (assignments): 31 * 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.000208/0.8255, allocations: 169.7 kB / 0.9048 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.8256, allocations: 43.72 kB / 0.9048 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.8263, allocations: 361.6 kB / 0.9052 GB, free: 288 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.8263, allocations: 4 kB / 0.9052 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8264, allocations: 0 / 0.9052 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.8264, allocations: 7.938 kB / 0.9052 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.8279, allocations: 0.8776 MB / 0.906 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.8279, allocations: 4 kB / 0.906 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.8282, allocations: 47.97 kB / 0.9061 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.8282, allocations: 8.219 kB / 0.9061 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.8282, allocations: 8 kB / 0.9061 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.8282, allocations: 7.938 kB / 0.9061 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8282, allocations: 48 / 0.9061 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.8292, allocations: 0.6335 MB / 0.9067 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.8294, allocations: 67.7 kB / 0.9068 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.8294, allocations: 8 kB / 0.9068 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.8296, allocations: 20.05 kB / 0.9068 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.8297, allocations: 23.91 kB / 0.9068 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.8297, allocations: 11.94 kB / 0.9069 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003167/0.8301, allocations: 279.1 kB / 0.9071 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8301, allocations: 0 / 0.9071 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004838/0.8305, allocations: 115.8 kB / 0.9072 GB, free: 14.06 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.001542/0.8321, allocations: 1.231 MB / 0.9084 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006367/0.8327, allocations: 267.7 kB / 0.9087 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8327, allocations: 0 / 0.9087 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.833, allocations: 148.7 kB / 0.9088 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.8341, allocations: 230 kB / 0.909 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005506/0.8396, allocations: 3.791 MB / 0.9127 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.8399, allocations: 232 kB / 0.913 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.8402, allocations: 95.41 kB / 0.9131 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.8404, allocations: 143.4 kB / 0.9132 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/0.8404, allocations: 0 / 0.9132 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.8924, allocations: 12.7 MB / 0.9256 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.52, allocations: 4 kB / 0.9256 GB, free: 11.42 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.32082204904873] Failed to read output from testmodel.py, exit status != 0: 12.68694450694602 12.704886855 11.889254254 Calling exit ...