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.001295/0.001295, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001701/0.001701, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.447/1.447, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.9741/0.9741, allocations: 150 MB / 463.9 MB, free: 10.15 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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",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.002297/0.002297, allocations: 58.28 kB / 0.6419 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1931, allocations: 89.19 MB / 0.729 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6468/0.8399, allocations: 178.7 MB / 0.9036 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.8542, allocations: 7.026 MB / 0.9104 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.8558, allocations: 51.62 kB / 0.9105 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.858, allocations: 0.6602 MB / 0.9111 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00719/0.8652, allocations: 2.567 MB / 0.9136 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.8691, allocations: 1.28 MB / 0.9149 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005013/0.8742, allocations: 3.003 MB / 0.9178 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.8758, allocations: 0.725 MB / 0.9185 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.8788, allocations: 1.215 MB / 0.9197 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.8821, allocations: 1.021 MB / 0.9207 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.8826, allocations: 112 kB / 0.9208 GB, free: 408 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/0.888, allocations: 1.808 MB / 0.9226 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.8893, allocations: 462.5 kB / 0.923 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.891, allocations: 0.5641 MB / 0.9236 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.8975, allocations: 2.395 MB / 0.9259 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.8975, allocations: 4 kB / 0.9259 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8975, allocations: 7.938 kB / 0.9259 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.695e-05/0.8976, allocations: 0 / 0.9259 GB, free: 11.15 MB / 0.7012 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.005252/0.9029, allocations: 1.593 MB / 0.9275 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.9029, allocations: 12.03 kB / 0.9275 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.148e-05/0.903, allocations: 22 kB / 0.9275 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003632/0.9033, allocations: 139.9 kB / 0.9276 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.9076, allocations: 0.4909 MB / 0.9281 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.9098, allocations: 0.807 MB / 0.9289 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/0.9099, allocations: 66 kB / 0.929 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.9102, allocations: 79.95 kB / 0.929 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.9132, allocations: 1.313 MB / 0.9303 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.9133, allocations: 7.938 kB / 0.9303 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.9134, allocations: 36 kB / 0.9304 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/0.9135, allocations: 45.98 kB / 0.9304 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.9161, allocations: 0.9875 MB / 0.9314 GB, free: 5.398 MB / 0.7012 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.006739/0.9229, allocations: 2.961 MB / 0.9343 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.9249, allocations: 0.77 MB / 0.935 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.9261, allocations: 483.2 kB / 0.9355 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.73e-05/0.9262, allocations: 12.64 kB / 0.9355 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.9263, allocations: 47.22 kB / 0.9355 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 5.831e-06/0.9263, allocations: 4 kB / 0.9355 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.003314/0.9296, allocations: 1.149 MB / 0.9367 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.9297, allocations: 60.06 kB / 0.9367 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.9308, allocations: 0.649 MB / 0.9373 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.931, allocations: 37.7 kB / 0.9374 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.9314, allocations: 440.8 kB / 0.9378 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.9318, allocations: 257.6 kB / 0.938 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.9322, allocations: 118.3 kB / 0.9382 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9324, allocations: 334 kB / 0.9385 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008272/0.9332, allocations: 325.1 kB / 0.9388 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/0.9341, allocations: 419.1 kB / 0.9392 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.9358, allocations: 0.7566 MB / 0.9399 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.9358, allocations: 0 / 0.9399 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002348/0.9382, allocations: 0.9029 MB / 0.9408 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.9382, allocations: 8 kB / 0.9408 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.9382, allocations: 2.812 kB / 0.9408 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.9382, allocations: 4 kB / 0.9408 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/0.9392, allocations: 163.7 kB / 0.941 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.1e-05/0.9393, allocations: 11.94 kB / 0.941 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.9404, allocations: 67.59 kB / 0.9411 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.9405, allocations: 24.06 kB / 0.9411 GB, free: 11.26 MB / 0.7169 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.0006522/0.9412, allocations: 289.6 kB / 0.9414 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/0.9415, allocations: 83.48 kB / 0.9414 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.9419, allocations: 107.7 kB / 0.9415 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.9419, allocations: 8 kB / 0.9415 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.9419, allocations: 7.922 kB / 0.9416 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/0.9439, allocations: 0.9228 MB / 0.9425 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.9484, allocations: 1.828 MB / 0.9442 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.9484, allocations: 0 / 0.9442 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.9496, allocations: 184.6 kB / 0.9444 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.976e-05/0.9496, allocations: 4 kB / 0.9444 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.9497, allocations: 23.92 kB / 0.9444 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.9497, allocations: 4 kB / 0.9444 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9497, allocations: 0 / 0.9444 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.9528, allocations: 1.381 MB / 0.9458 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/0.9536, allocations: 175.2 kB / 0.946 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/0.9539, allocations: 21.98 kB / 0.946 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.955, allocations: 31.97 kB / 0.946 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.9551, allocations: 44.56 kB / 0.9461 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/0.9552, allocations: 27.98 kB / 0.9461 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008006/0.956, allocations: 459 kB / 0.9465 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.956, allocations: 4 kB / 0.9465 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001214/0.9572, allocations: 335.4 kB / 0.9468 GB, free: 5.227 MB / 0.7169 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.003678/0.9609, allocations: 1.989 MB / 0.9488 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.9629, allocations: 0.7553 MB / 0.9495 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9629, allocations: 0 / 0.9495 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.9639, allocations: 411.5 kB / 0.9499 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.9672, allocations: 0.5477 MB / 0.9505 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.9831, allocations: 7.371 MB / 0.9576 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.9839, allocations: 0.495 MB / 0.9581 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001193/0.9851, allocations: 231.3 kB / 0.9584 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/0.9859, allocations: 359.3 kB / 0.9587 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of SimCode: time 1.943e-06/0.9859, allocations: 0 / 0.9587 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0708/1.057, allocations: 28.97 MB / 0.987 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.68, allocations: 8.375 kB / 0.987 GB, free: 12.48 MB / 0.7637 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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: 18.619178732973523] Failed to read output from testmodel.py, exit status != 0: 14.866852712002583 14.891632586 13.988686619 Calling exit ...