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.001459/0.001459, allocations: 114.2 kB / 17.84 MB, free: 5.355 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.001503/0.001503, allocations: 207.1 kB / 20.79 MB, free: 2.414 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.416/1.416, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.9471/0.9471, allocations: 150 MB / 460.2 MB, free: 5.289 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.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.001884/0.001884, allocations: 68.41 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 89.13 MB / 0.7239 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6459/0.8047, allocations: 182.9 MB / 0.9025 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00897/0.8136, allocations: 7.88 MB / 0.9102 GB, free: 2.883 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.8144, allocations: 28.03 kB / 0.9102 GB, free: 2.883 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.8152, allocations: 249.3 kB / 0.9105 GB, free: 2.879 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.8183, allocations: 1.259 MB / 0.9117 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.82, allocations: 0.7394 MB / 0.9124 GB, free: 2.797 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.8211, allocations: 1.07 MB / 0.9135 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.8215, allocations: 349.1 kB / 0.9138 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.824, allocations: 1.015 MB / 0.9148 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.8245, allocations: 442 kB / 0.9152 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.8246, allocations: 37.19 kB / 0.9153 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.8261, allocations: 0.9992 MB / 0.9162 GB, free: 2.727 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.8262, allocations: 162.2 kB / 0.9164 GB, free: 2.723 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.8264, allocations: 247.4 kB / 0.9166 GB, free: 2.723 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.8276, allocations: 0.9416 MB / 0.9175 GB, free: 2.641 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8276, allocations: 0 / 0.9175 GB, free: 2.641 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8276, allocations: 0 / 0.9175 GB, free: 2.641 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.8276, allocations: 0 / 0.9175 GB, free: 2.641 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.001187/0.8288, allocations: 0.824 MB / 0.9183 GB, free: 18.07 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.8288, allocations: 10.28 kB / 0.9184 GB, free: 18.07 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.785e-05/0.8289, allocations: 9.281 kB / 0.9184 GB, free: 18.06 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.8289, allocations: 79.39 kB / 0.9184 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/0.8298, allocations: 151 kB / 0.9186 GB, free: 17.99 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.8304, allocations: 404.9 kB / 0.919 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8304, allocations: 32.34 kB / 0.919 GB, free: 17.74 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.8304, allocations: 38.12 kB / 0.919 GB, free: 17.74 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.8311, allocations: 454.3 kB / 0.9195 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8311, allocations: 3.094 kB / 0.9195 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.8311, allocations: 17.41 kB / 0.9195 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.8311, allocations: 10.28 kB / 0.9195 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.8316, allocations: 319.7 kB / 0.9198 GB, free: 17.63 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.8336, allocations: 2.009 MB / 0.9218 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.834, allocations: 225 kB / 0.922 GB, free: 16.26 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.8342, allocations: 138.6 kB / 0.9221 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.8348, allocations: 304.4 kB / 0.9224 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.8348, allocations: 38 kB / 0.9224 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.8348, allocations: 0 / 0.9224 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009203/0.8357, allocations: 459.4 kB / 0.9229 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.8358, allocations: 53.66 kB / 0.9229 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.8361, allocations: 402.9 kB / 0.9233 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.8361, allocations: 32.55 kB / 0.9233 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.8363, allocations: 235.1 kB / 0.9236 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.8363, allocations: 88.91 kB / 0.9237 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.8364, allocations: 56.59 kB / 0.9237 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8366, allocations: 354.9 kB / 0.924 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.8368, allocations: 107.2 kB / 0.9241 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.837, allocations: 189.4 kB / 0.9243 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.8374, allocations: 307.6 kB / 0.9246 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8374, allocations: 0 / 0.9246 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005515/0.838, allocations: 366.7 kB / 0.925 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.838, allocations: 6.219 kB / 0.925 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.838, allocations: 2.406 kB / 0.925 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.838, allocations: 8.203 kB / 0.925 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.8383, allocations: 54.91 kB / 0.925 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8383, allocations: 8.375 kB / 0.925 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.8385, allocations: 44.38 kB / 0.9251 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.8386, allocations: 10.97 kB / 0.9251 GB, free: 14.91 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 (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.0001633/0.8387, allocations: 170.1 kB / 0.9253 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.8388, allocations: 42.34 kB / 0.9253 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.8394, allocations: 368.1 kB / 0.9257 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8394, allocations: 2.938 kB / 0.9257 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8394, allocations: 0 / 0.9257 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8394, allocations: 7.906 kB / 0.9257 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.8406, allocations: 0.9397 MB / 0.9266 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8406, allocations: 6.375 kB / 0.9266 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.8409, allocations: 50.56 kB / 0.9266 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.8409, allocations: 5.109 kB / 0.9266 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.8409, allocations: 8.531 kB / 0.9266 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.8409, allocations: 3.406 kB / 0.9267 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8409, allocations: 0.875 kB / 0.9267 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.8417, allocations: 0.6414 MB / 0.9273 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.8418, allocations: 143.5 kB / 0.9274 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.8419, allocations: 6.219 kB / 0.9274 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.8421, allocations: 14.88 kB / 0.9274 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.8422, allocations: 23.53 kB / 0.9275 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.8422, allocations: 15.89 kB / 0.9275 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002537/0.8424, allocations: 280.1 kB / 0.9277 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8424, allocations: 0 / 0.9277 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000427/0.8429, allocations: 112.8 kB / 0.9278 GB, free: 13.89 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.001336/0.8442, allocations: 1.226 MB / 0.929 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.8447, allocations: 274.5 kB / 0.9293 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8447, allocations: 448 / 0.9293 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.845, allocations: 144.8 kB / 0.9294 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/0.846, allocations: 231.9 kB / 0.9297 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.8501, allocations: 3.806 MB / 0.9334 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.8505, allocations: 0.8295 MB / 0.9342 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002797/0.8508, allocations: 99.3 kB / 0.9343 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.851, allocations: 138.7 kB / 0.9344 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of SimCode: time 4.71e-07/0.851, allocations: 0 / 0.9344 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.8844, allocations: 11.76 MB / 0.9459 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.686/9.57, allocations: 15.91 kB / 0.9459 GB, free: 6.812 MB / 0.6856 GB " [Timeout remaining time 650] (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: 13.380087846016977] Failed to read output from testmodel.py, exit status != 0: 9.701222294999752 9.722799581 8.890957837 Calling exit ...