Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 104.4 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001235, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7491 GB, free: 2.977 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.91 kB / 1.073 GB, free: 108 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7484, allocations: 159.1 MB / 1.229 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2143/0.9627, allocations: 204.2 MB / 1.428 GB, free: 7.852 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.9731, allocations: 6.378 MB / 1.434 GB, free: 1.457 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.9742, allocations: 35.81 kB / 1.434 GB, free: 1.422 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.9759, allocations: 0.7304 MB / 1.435 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006224/0.9822, allocations: 2.676 MB / 1.438 GB, free: 14 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.9842, allocations: 0.7193 MB / 1.438 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004682/0.9889, allocations: 3.263 MB / 1.441 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.9906, allocations: 1.144 MB / 1.443 GB, free: 8.844 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.993, allocations: 1.249 MB / 1.444 GB, free: 7.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.9951, allocations: 1.092 MB / 1.445 GB, free: 6.5 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.9953, allocations: 128 kB / 1.445 GB, free: 6.375 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.9996, allocations: 2.358 MB / 1.447 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005216/1, allocations: 0.5104 MB / 1.448 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008238/1.001, allocations: 0.7391 MB / 1.449 GB, free: 2.758 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003796/1.005, allocations: 2.808 MB / 1.451 GB, free: 15.94 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.005, allocations: 0 / 1.451 GB, free: 15.94 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.443e-06/1.005, allocations: 0 / 1.451 GB, free: 15.94 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.432e-05/1.005, allocations: 0 / 1.451 GB, free: 15.94 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003719/1.009, allocations: 1.821 MB / 1.453 GB, free: 14.06 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.009, allocations: 8.031 kB / 1.453 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/1.009, allocations: 160.6 kB / 1.453 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/1.011, allocations: 354.9 kB / 1.454 GB, free: 13.54 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.012, allocations: 0.8824 MB / 1.454 GB, free: 12.61 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/1.012, allocations: 78 kB / 1.454 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/1.012, allocations: 100 kB / 1.455 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.014, allocations: 1.195 MB / 1.456 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/1.014, allocations: 0 / 1.456 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/1.014, allocations: 36 kB / 1.456 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/1.015, allocations: 62.08 kB / 1.456 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/1.016, allocations: 1.257 MB / 1.457 GB, free: 9.844 MB / 1.17 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.006001/1.022, allocations: 5.112 MB / 1.462 GB, free: 4.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/1.024, allocations: 1.164 MB / 1.463 GB, free: 3.027 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/1.025, allocations: 0.5012 MB / 1.464 GB, free: 2.523 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/1.025, allocations: 12.64 kB / 1.464 GB, free: 2.508 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007006/1.025, allocations: 488.2 kB / 1.464 GB, free: 2.023 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/1.025, allocations: 0 / 1.464 GB, free: 2.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.0019/1.027, allocations: 1.165 MB / 1.465 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.027, allocations: 60.06 kB / 1.465 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/1.028, allocations: 0.5744 MB / 1.466 GB, free: 204 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/1.028, allocations: 41.7 kB / 1.466 GB, free: 156 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/1.028, allocations: 476.8 kB / 1.466 GB, free: 15.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.029, allocations: 277.6 kB / 1.467 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.029, allocations: 134.6 kB / 1.467 GB, free: 15.27 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.029, allocations: 386.8 kB / 1.467 GB, free: 14.88 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/1.03, allocations: 329.8 kB / 1.467 GB, free: 14.56 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/1.03, allocations: 444.8 kB / 1.468 GB, free: 14.09 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.031, allocations: 0.8232 MB / 1.469 GB, free: 13.23 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/1.031, allocations: 4 kB / 1.469 GB, free: 13.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00136/1.033, allocations: 0.9418 MB / 1.47 GB, free: 12.28 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.033, allocations: 7.938 kB / 1.47 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.033, allocations: 4 kB / 1.47 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.033, allocations: 4 kB / 1.47 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/1.033, allocations: 155.8 kB / 1.47 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.034, allocations: 4 kB / 1.47 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/1.034, allocations: 67.5 kB / 1.47 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/1.034, allocations: 28.25 kB / 1.47 GB, free: 12.01 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004361/1.035, allocations: 333.5 kB / 1.47 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.035, allocations: 87.47 kB / 1.47 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/1.035, allocations: 103.8 kB / 1.47 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.035, allocations: 11.94 kB / 1.47 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.035, allocations: 0 / 1.47 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.036, allocations: 1.089 MB / 1.471 GB, free: 10.29 MB / 1.186 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 postOpt removeSimpleEquations (simulation): time 0.002968/1.039, allocations: 2.311 MB / 1.474 GB, free: 7.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.039, allocations: 0 / 1.474 GB, free: 7.887 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/1.04, allocations: 175.8 kB / 1.474 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.04, allocations: 7.938 kB / 1.474 GB, free: 7.707 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/1.04, allocations: 16 kB / 1.474 GB, free: 7.691 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.04, allocations: 3.984 kB / 1.474 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.04, allocations: 11.88 kB / 1.474 GB, free: 7.676 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.042, allocations: 1.356 MB / 1.475 GB, free: 6.301 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/1.042, allocations: 256.4 kB / 1.476 GB, free: 6.031 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.042, allocations: 16 kB / 1.476 GB, free: 6.016 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.043, allocations: 22.23 kB / 1.476 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/1.043, allocations: 44.59 kB / 1.476 GB, free: 5.953 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/1.043, allocations: 31.92 kB / 1.476 GB, free: 5.922 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004555/1.044, allocations: 411 kB / 1.476 GB, free: 5.523 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.044, allocations: 4 kB / 1.476 GB, free: 5.52 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007711/1.044, allocations: 371.3 kB / 1.476 GB, free: 5.156 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002235/1.047, allocations: 1.974 MB / 1.478 GB, free: 3.156 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001146/1.048, allocations: 0.7985 MB / 1.479 GB, free: 2.355 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.048, allocations: 4.188 kB / 1.479 GB, free: 2.352 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/1.048, allocations: 427.5 kB / 1.479 GB, free: 1.934 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.051, allocations: 0.5918 MB / 1.48 GB, free: 1.355 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/1.061, allocations: 7.281 MB / 1.487 GB, free: 9.906 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/1.061, allocations: 1.151 MB / 1.488 GB, free: 8.723 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008616/1.062, allocations: 267.2 kB / 1.489 GB, free: 8.457 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/1.063, allocations: 379.3 kB / 1.489 GB, free: 8.09 MB / 1.201 GB Notification: Performance of SimCode: time 4.01e-07/1.063, allocations: 0 / 1.489 GB, free: 8.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05471/1.117, allocations: 25.91 MB / 1.514 GB, free: 14.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.261/10.38, allocations: 4.984 kB / 1.514 GB, free: 14.5 MB / 1.232 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.79706443590112] Failed to read output from testmodel.py, exit status != 0: 10.457925389986485 10.471572769 9.464295105 Calling exit ...