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.001843/0.001843, 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.002122/0.002122, allocations: 221.6 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.03/1.03, allocations: 150 MB / 463.2 MB, free: 10.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.002265/0.002265, allocations: 70.89 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1931, allocations: 89.17 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5892/0.7823, allocations: 183.2 MB / 0.9073 GB, free: 32 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.7934, allocations: 7.939 MB / 0.9151 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.7941, allocations: 27.75 kB / 0.9151 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009304/0.795, allocations: 246.2 kB / 0.9153 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.7987, allocations: 1.284 MB / 0.9166 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.8008, allocations: 0.7615 MB / 0.9173 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.8023, allocations: 1.095 MB / 0.9184 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.8031, allocations: 328.2 kB / 0.9187 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.8063, allocations: 1.029 MB / 0.9197 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008698/0.8071, allocations: 450.4 kB / 0.9201 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.8072, allocations: 36 kB / 0.9202 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.8093, allocations: 1.009 MB / 0.9212 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.8095, allocations: 163.5 kB / 0.9213 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.8099, allocations: 242.8 kB / 0.9215 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.8119, allocations: 0.9497 MB / 0.9225 GB, free: 480 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8119, allocations: 4 kB / 0.9225 GB, free: 476 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8119, allocations: 0 / 0.9225 GB, free: 476 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.337e-05/0.8119, allocations: 0 / 0.9225 GB, free: 476 kB / 0.6856 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.001461/0.8133, allocations: 0.738 MB / 0.9232 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.8134, allocations: 12.03 kB / 0.9232 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.8135, allocations: 75.16 kB / 0.9233 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009954/0.8145, allocations: 159.5 kB / 0.9234 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.8152, allocations: 332.5 kB / 0.9237 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.8152, allocations: 29 kB / 0.9238 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.8153, allocations: 36 kB / 0.9238 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/0.8161, allocations: 458.3 kB / 0.9242 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.8161, allocations: 3.938 kB / 0.9242 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.8162, allocations: 18.5 kB / 0.9243 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.8162, allocations: 8 kB / 0.9243 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.8168, allocations: 323.8 kB / 0.9246 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.8193, allocations: 1.977 MB / 0.9265 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.8197, allocations: 230.4 kB / 0.9267 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.82, allocations: 133.6 kB / 0.9269 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/0.8205, allocations: 80.31 kB / 0.9269 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8205, allocations: 30.56 kB / 0.927 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.8205, allocations: 0 / 0.927 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.001048/0.8216, allocations: 464.1 kB / 0.9274 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8216, allocations: 55.41 kB / 0.9275 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.822, allocations: 394 kB / 0.9278 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.8221, allocations: 33.7 kB / 0.9279 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.8223, allocations: 228.5 kB / 0.9281 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.8223, allocations: 95.2 kB / 0.9282 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.8224, allocations: 61.58 kB / 0.9282 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8226, allocations: 350.7 kB / 0.9286 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.8228, allocations: 115.9 kB / 0.9287 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.8231, allocations: 182.8 kB / 0.9289 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.8237, allocations: 302.6 kB / 0.9291 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.8237, allocations: 0 / 0.9291 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006583/0.8243, allocations: 367.6 kB / 0.9295 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8243, allocations: 8 kB / 0.9295 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.8243, allocations: 0 / 0.9295 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.8244, allocations: 4 kB / 0.9295 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.8246, allocations: 59.91 kB / 0.9296 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.8247, allocations: 12.16 kB / 0.9296 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.8249, allocations: 39.72 kB / 0.9296 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.8249, allocations: 19.92 kB / 0.9296 GB, free: 8.75 MB / 0.7012 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.0001927/0.8251, allocations: 165.7 kB / 0.9298 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.8252, allocations: 39.72 kB / 0.9298 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/0.8259, allocations: 367.4 kB / 0.9302 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8259, allocations: 4 kB / 0.9302 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8259, allocations: 5.5 kB / 0.9302 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8259, allocations: 3.938 kB / 0.9302 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.8274, allocations: 0.9108 MB / 0.9311 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8274, allocations: 3.938 kB / 0.9311 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.8277, allocations: 47.91 kB / 0.9311 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.8277, allocations: 4 kB / 0.9311 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.8277, allocations: 8 kB / 0.9311 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.8277, allocations: 7.938 kB / 0.9312 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8277, allocations: 0.7812 kB / 0.9312 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/0.8287, allocations: 0.6369 MB / 0.9318 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.8288, allocations: 67.7 kB / 0.9318 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.8289, allocations: 11.94 kB / 0.9318 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.8291, allocations: 15.98 kB / 0.9319 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.8292, allocations: 19.97 kB / 0.9319 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.8292, allocations: 8 kB / 0.9319 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003034/0.8295, allocations: 287.1 kB / 0.9322 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8295, allocations: 0 / 0.9322 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004504/0.8299, allocations: 119.8 kB / 0.9323 GB, free: 5.93 MB / 0.7012 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.001472/0.8314, allocations: 1.226 MB / 0.9335 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005866/0.832, allocations: 271.7 kB / 0.9337 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.832, allocations: 0 / 0.9337 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.8323, allocations: 147.8 kB / 0.9339 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.8333, allocations: 225.6 kB / 0.9341 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.8385, allocations: 3.8 MB / 0.9378 GB, free: 84 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.8391, allocations: 0.8272 MB / 0.9386 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000336/0.8394, allocations: 104.1 kB / 0.9387 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.8396, allocations: 139.4 kB / 0.9388 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8396, allocations: 0 / 0.9388 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.8915, allocations: 11.96 MB / 0.9505 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.13, allocations: 6.578 kB / 0.9505 GB, free: 3.293 MB / 0.7169 GB " [Timeout remaining time 648] (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: 15.889514189912006] Failed to read output from testmodel.py, exit status != 0: 12.2423314191401 12.257731357 11.442626511 Calling exit ...