Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004616/0.004616, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 198.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437.1 MB / 0.7106 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2374, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6268/0.8643, allocations: 204.2 MB / 1.366 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008787/0.8731, allocations: 6.377 MB / 1.372 GB, free: 4.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005902/0.8737, allocations: 37.88 kB / 1.372 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.8752, allocations: 0.7238 MB / 1.373 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.88, allocations: 2.685 MB / 1.375 GB, free: 2.09 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.00135/0.8814, allocations: 0.7146 MB / 1.376 GB, free: 1.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.8843, allocations: 3.263 MB / 1.379 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.8855, allocations: 1.14 MB / 1.38 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.8869, allocations: 1.251 MB / 1.381 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.8885, allocations: 1.092 MB / 1.382 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.8887, allocations: 128.4 kB / 1.383 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.8919, allocations: 2.356 MB / 1.385 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.8923, allocations: 0.5181 MB / 1.385 GB, free: 12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000643/0.893, allocations: 0.7357 MB / 1.386 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.8958, allocations: 2.804 MB / 1.389 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8958, allocations: 0 / 1.389 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8958, allocations: 2.688 kB / 1.389 GB, free: 9.801 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.8958, allocations: 4 kB / 1.389 GB, free: 9.797 MB / 1.061 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.003281/0.8991, allocations: 1.809 MB / 1.391 GB, free: 8.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.8992, allocations: 7.656 kB / 1.391 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.8993, allocations: 168.7 kB / 1.391 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.9013, allocations: 345 kB / 1.391 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.9024, allocations: 0.883 MB / 1.392 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.9025, allocations: 74.11 kB / 1.392 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.9026, allocations: 108.3 kB / 1.392 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.9043, allocations: 1.195 MB / 1.393 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.9043, allocations: 0 / 1.393 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.9044, allocations: 46.69 kB / 1.393 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.9044, allocations: 57.45 kB / 1.393 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.9061, allocations: 1.247 MB / 1.395 GB, free: 6.074 MB / 1.061 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.005358/0.9114, allocations: 5.108 MB / 1.4 GB, free: 1.723 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.9128, allocations: 1.164 MB / 1.401 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.9134, allocations: 0.4982 MB / 1.401 GB, free: 0.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.9135, allocations: 18.97 kB / 1.401 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006106/0.9141, allocations: 488.5 kB / 1.402 GB, free: 328 kB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 3.406e-06/0.9141, allocations: 0 / 1.402 GB, free: 328 kB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.001631/0.9157, allocations: 1.175 MB / 1.403 GB, free: 15.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.9158, allocations: 58.75 kB / 1.403 GB, free: 15.65 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.9163, allocations: 0.5694 MB / 1.403 GB, free: 15.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.9164, allocations: 38.86 kB / 1.404 GB, free: 15.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.9167, allocations: 482.5 kB / 1.404 GB, free: 14.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.9169, allocations: 274.1 kB / 1.404 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.9171, allocations: 134.4 kB / 1.404 GB, free: 14.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9173, allocations: 382.9 kB / 1.405 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.9177, allocations: 330.7 kB / 1.405 GB, free: 14.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.9182, allocations: 451.8 kB / 1.405 GB, free: 13.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.9192, allocations: 0.8159 MB / 1.406 GB, free: 13.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9192, allocations: 2.156 kB / 1.406 GB, free: 13.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001159/0.9204, allocations: 0.9417 MB / 1.407 GB, free: 12.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.9204, allocations: 5.375 kB / 1.407 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9204, allocations: 4.312 kB / 1.407 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9204, allocations: 9.969 kB / 1.407 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.921, allocations: 154.1 kB / 1.407 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.921, allocations: 6.062 kB / 1.407 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.9216, allocations: 70.28 kB / 1.407 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.9216, allocations: 25.38 kB / 1.407 GB, free: 12.64 MB / 1.076 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.0003535/0.922, allocations: 332.9 kB / 1.408 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.9221, allocations: 81.97 kB / 1.408 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.9223, allocations: 112.2 kB / 1.408 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9223, allocations: 7.938 kB / 1.408 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9223, allocations: 0 / 1.408 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.9235, allocations: 1.089 MB / 1.409 GB, free: 11.19 MB / 1.076 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.00282/0.9264, allocations: 2.314 MB / 1.411 GB, free: 8.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9264, allocations: 5.125 kB / 1.411 GB, free: 8.781 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.9271, allocations: 171.8 kB / 1.411 GB, free: 8.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9271, allocations: 4 kB / 1.411 GB, free: 8.609 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.9272, allocations: 19.98 kB / 1.411 GB, free: 8.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.9272, allocations: 4.031 kB / 1.411 GB, free: 8.586 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9272, allocations: 4 kB / 1.411 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.929, allocations: 1.352 MB / 1.413 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.9293, allocations: 252.5 kB / 1.413 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.369e-05/0.9294, allocations: 16.5 kB / 1.413 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.9299, allocations: 23.97 kB / 1.413 GB, free: 6.906 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.93, allocations: 52.53 kB / 1.413 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.9301, allocations: 28.11 kB / 1.413 GB, free: 6.828 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000434/0.9305, allocations: 411.1 kB / 1.414 GB, free: 6.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9305, allocations: 0 / 1.414 GB, free: 6.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006846/0.9312, allocations: 367.3 kB / 1.414 GB, free: 6.07 MB / 1.076 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.00213/0.9333, allocations: 1.988 MB / 1.416 GB, free: 4.051 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.9344, allocations: 0.802 MB / 1.417 GB, free: 3.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9344, allocations: 4 kB / 1.417 GB, free: 3.246 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.935, allocations: 423.5 kB / 1.417 GB, free: 2.832 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.9373, allocations: 0.5889 MB / 1.418 GB, free: 2.258 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008625/0.9459, allocations: 7.289 MB / 1.425 GB, free: 10.8 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.9467, allocations: 1.136 MB / 1.426 GB, free: 9.645 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006844/0.9473, allocations: 271.1 kB / 1.426 GB, free: 9.375 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.9479, allocations: 375.3 kB / 1.426 GB, free: 9.008 MB / 1.092 GB Notification: Performance of SimCode: time 2.41e-07/0.9479, allocations: 4 kB / 1.426 GB, free: 9.004 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.919/3.867, allocations: 25.92 MB / 1.452 GB, free: 15.41 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/23.71, allocations: 4 kB / 1.452 GB, free: 15.41 MB / 1.123 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)