Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.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.001675/0.001675, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001913/0.001913, allocations: 204 kB / 20.09 MB, free: 2.977 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.435/1.435, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9382/0.9382, allocations: 150 MB / 459.5 MB, free: 5.324 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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",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.001942/0.001942, allocations: 69.36 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1626, allocations: 89.13 MB / 0.7231 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6626/0.8252, allocations: 205.7 MB / 0.924 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.8358, allocations: 7.569 MB / 0.9314 GB, free: 2.094 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.8377, allocations: 49.25 kB / 0.9315 GB, free: 2.094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8397, allocations: 0.7371 MB / 0.9322 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006385/0.8461, allocations: 2.528 MB / 0.9347 GB, free: 1.957 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.8493, allocations: 1.249 MB / 0.9359 GB, free: 1.914 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004108/0.8534, allocations: 2.942 MB / 0.9388 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.8547, allocations: 0.7968 MB / 0.9395 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.857, allocations: 1.191 MB / 0.9407 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.8592, allocations: 1.032 MB / 0.9417 GB, free: 1.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.8595, allocations: 112.6 kB / 0.9418 GB, free: 1.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.8641, allocations: 2.304 MB / 0.9441 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006226/0.8647, allocations: 467.9 kB / 0.9445 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009601/0.8656, allocations: 0.6739 MB / 0.9452 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.8711, allocations: 2.49 MB / 0.9476 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8711, allocations: 3.047 kB / 0.9476 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd: time 2.205e-06/0.8711, allocations: 0 / 0.9476 GB, free: 0 / 0.67 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.8711, allocations: 0 / 0.9476 GB, free: 0 / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00404/0.8752, allocations: 1.676 MB / 0.9492 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8752, allocations: 10.16 kB / 0.9493 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001881/0.8754, allocations: 140.5 kB / 0.9494 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/0.879, allocations: 0.4913 MB / 0.9499 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.8807, allocations: 0.8784 MB / 0.9507 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.8808, allocations: 62.73 kB / 0.9508 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.8809, allocations: 86.48 kB / 0.9509 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.8829, allocations: 1.113 MB / 0.952 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.883, allocations: 6.578 kB / 0.952 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.8831, allocations: 32.34 kB / 0.952 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.8831, allocations: 47.09 kB / 0.952 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.8851, allocations: 0.9836 MB / 0.953 GB, free: 12.6 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.8909, allocations: 4.5 MB / 0.9574 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.8925, allocations: 0.7596 MB / 0.9581 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/0.8935, allocations: 490.8 kB / 0.9586 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.8936, allocations: 13.73 kB / 0.9586 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.8936, allocations: 38.5 kB / 0.9586 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/0.8936, allocations: 0 / 0.9586 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.00277/0.8964, allocations: 1.152 MB / 0.9598 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.8964, allocations: 64.59 kB / 0.9598 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.8973, allocations: 0.6445 MB / 0.9605 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/0.8974, allocations: 41.11 kB / 0.9605 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.8977, allocations: 440.6 kB / 0.9609 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.898, allocations: 263.2 kB / 0.9612 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.8982, allocations: 115.2 kB / 0.9613 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8984, allocations: 334.6 kB / 0.9616 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.899, allocations: 333 kB / 0.9619 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.8997, allocations: 410.9 kB / 0.9623 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.9012, allocations: 0.7599 MB / 0.9631 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9012, allocations: 2.906 kB / 0.9631 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001862/0.9031, allocations: 0.9003 MB / 0.9639 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.9031, allocations: 8.844 kB / 0.9639 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.9031, allocations: 6.062 kB / 0.964 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.9031, allocations: 5.375 kB / 0.964 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/0.9039, allocations: 155.2 kB / 0.9641 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.904, allocations: 8.469 kB / 0.9641 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/0.9049, allocations: 72 kB / 0.9642 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.905, allocations: 24.98 kB / 0.9642 GB, free: 4.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0004996/0.9055, allocations: 292.6 kB / 0.9645 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.9057, allocations: 84.52 kB / 0.9646 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.9059, allocations: 110.3 kB / 0.9647 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9059, allocations: 7.844 kB / 0.9647 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.9059, allocations: 3.938 kB / 0.9647 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/0.9075, allocations: 0.9268 MB / 0.9656 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.9109, allocations: 2.011 MB / 0.9675 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9109, allocations: 3.938 kB / 0.9676 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.9119, allocations: 188.5 kB / 0.9677 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.9119, allocations: 3.281 kB / 0.9677 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.9119, allocations: 19.48 kB / 0.9678 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.912, allocations: 3.5 kB / 0.9678 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.912, allocations: 0 / 0.9678 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.9146, allocations: 1.379 MB / 0.9691 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.9151, allocations: 256.6 kB / 0.9693 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.9152, allocations: 19.2 kB / 0.9694 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.916, allocations: 36.34 kB / 0.9694 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.9162, allocations: 44.94 kB / 0.9694 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.9162, allocations: 22.73 kB / 0.9695 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006276/0.9169, allocations: 461.6 kB / 0.9699 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9169, allocations: 0 / 0.9699 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009336/0.9178, allocations: 335.4 kB / 0.9702 GB, free: 408 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.003181/0.921, allocations: 1.989 MB / 0.9722 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.9227, allocations: 0.7468 MB / 0.9729 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9227, allocations: 384 / 0.9729 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000828/0.9235, allocations: 407.9 kB / 0.9733 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.9263, allocations: 0.5594 MB / 0.9738 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.9395, allocations: 7.371 MB / 0.981 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009186/0.9405, allocations: 1.093 MB / 0.9821 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001018/0.9415, allocations: 231.3 kB / 0.9823 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000685/0.9422, allocations: 363.3 kB / 0.9827 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of SimCode: time 9.12e-07/0.9422, allocations: 0 / 0.9827 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06704/1.009, allocations: 26.34 MB / 1.008 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.269/10.28, allocations: 12.53 kB / 1.008 GB, free: 9.547 MB / 0.7325 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.149824771098793] Failed to read output from testmodel.py, exit status != 0: 10.363757722079754 10.386970427 9.511478126 Calling exit ...