Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001811/0.001811, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.002246/0.002246, allocations: 219.7 kB / 23 MB, free: 5.004 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.637/1.637, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.48 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.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax",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.002052/0.002052, allocations: 71.39 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2251, allocations: 89.17 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001999/0.2271, allocations: 0.644 MB / 0.729 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.2273, allocations: 7.938 kB / 0.729 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.2273, allocations: 3.938 kB / 0.729 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2274, allocations: 7.922 kB / 0.729 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.2275, allocations: 4 kB / 0.729 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.329e-05/0.2275, allocations: 4 kB / 0.729 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2276, allocations: 31.91 kB / 0.7291 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2278, allocations: 19.98 kB / 0.7291 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.2278, allocations: 11.94 kB / 0.7291 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.2278, allocations: 19.86 kB / 0.7291 GB, free: 484 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2279, allocations: 4 kB / 0.7291 GB, free: 480 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.2279, allocations: 4 kB / 0.7291 GB, free: 476 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.2279, allocations: 7.938 kB / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.228, allocations: 27.86 kB / 0.7292 GB, free: 440 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2281, allocations: 48.03 kB / 0.7292 GB, free: 392 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2281, allocations: 8 kB / 0.7292 GB, free: 384 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2281, allocations: 0 / 0.7292 GB, free: 384 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2281, allocations: 0 / 0.7292 GB, free: 384 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003886/0.2285, allocations: 274.2 kB / 0.7295 GB, free: 76 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2285, allocations: 12.03 kB / 0.7295 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.2285, allocations: 34.69 kB / 0.7295 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2286, allocations: 8.891 kB / 0.7295 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.2288, allocations: 118.5 kB / 0.7297 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2288, allocations: 4.375 kB / 0.7297 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2288, allocations: 8.375 kB / 0.7297 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.229, allocations: 78.22 kB / 0.7297 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.229, allocations: 3.938 kB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.229, allocations: 0 / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.229, allocations: 4 kB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.2291, allocations: 59.83 kB / 0.7298 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.2296, allocations: 454.3 kB / 0.7302 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2297, allocations: 173.1 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.2298, allocations: 88.14 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.2298, allocations: 75.28 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.2299, allocations: 109.8 kB / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.2299, allocations: 0 / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.816e-05/0.2299, allocations: 37.66 kB / 0.7307 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.23, allocations: 138.6 kB / 0.7308 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2302, allocations: 167.5 kB / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2302, allocations: 29.7 kB / 0.731 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.2303, allocations: 96.08 kB / 0.7311 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.2303, allocations: 4 kB / 0.7311 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.2303, allocations: 9.719 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2305, allocations: 318.8 kB / 0.7314 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.2305, allocations: 11.98 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.2305, allocations: 4 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.2306, allocations: 16.84 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2306, allocations: 0 / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001263/0.2307, allocations: 57.58 kB / 0.7315 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2307, allocations: 4 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2307, allocations: 3.984 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2307, allocations: 3.938 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.2308, allocations: 7.938 kB / 0.7315 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2308, allocations: 4.094 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.2308, allocations: 7.938 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2308, allocations: 4 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001308/0.231, allocations: 193.1 kB / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.2311, allocations: 109 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.2311, allocations: 116.7 kB / 0.7319 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.038e-05/0.2312, allocations: 188.2 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.273e-05/0.2313, allocations: 180.3 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/0.2314, allocations: 184.2 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.2316, allocations: 384.3 kB / 0.7328 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.489e-05/0.2317, allocations: 113 kB / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.2318, allocations: 105 kB / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.2318, allocations: 184.3 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/0.2319, allocations: 180.2 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.321e-05/0.232, allocations: 180.2 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.252e-05/0.2321, allocations: 180.2 kB / 0.7337 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.2323, allocations: 319.9 kB / 0.734 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.2324, allocations: 109 kB / 0.7341 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.2325, allocations: 180.3 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.2326, allocations: 116.8 kB / 0.7344 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.2327, allocations: 176.3 kB / 0.7346 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.2327, allocations: 104.9 kB / 0.7347 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001148/0.2328, allocations: 137.9 kB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2328, allocations: 0 / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000232/0.2331, allocations: 8 kB / 0.7348 GB, free: 10.22 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0005309/0.2336, allocations: 0.8048 MB / 0.7356 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.274e-05/0.2337, allocations: 12 kB / 0.7356 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2337, allocations: 3.938 kB / 0.7356 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/0.2337, allocations: 0 / 0.7356 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.2342, allocations: 471.6 kB / 0.7361 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2357, allocations: 1.602 MB / 0.7377 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.236, allocations: 0.7001 MB / 0.7383 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.2361, allocations: 4 kB / 0.7383 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.2361, allocations: 19.42 kB / 0.7384 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2361, allocations: 0 / 0.7384 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.265, allocations: 1.721 MB / 0.74 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.95, allocations: 9.875 kB / 0.7401 GB, free: 4.887 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.11075124800118] Failed to read output from testmodel.py, exit status != 0: 11.05441250199874 11.071774084 10.840511902 Calling exit ...