Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001086/0.001086, allocations: 192.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.104/1.104, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.478/1.478, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.08 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1627, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4897/0.6524, allocations: 201.9 MB / 0.98 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007377/0.6598, allocations: 6.384 MB / 0.9862 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.6609, allocations: 32.09 kB / 0.9862 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.6623, allocations: 0.6352 MB / 0.9869 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.6672, allocations: 2.526 MB / 0.9893 GB, free: 4.801 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.001309/0.6685, allocations: 0.6267 MB / 0.9899 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.6725, allocations: 4.811 MB / 0.9946 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009487/0.6734, allocations: 0.9569 MB / 0.9956 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.675, allocations: 1.078 MB / 0.9966 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.6765, allocations: 1.144 MB / 0.9977 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6767, allocations: 71.25 kB / 0.9978 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.6806, allocations: 2.723 MB / 1 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.681, allocations: 474.2 kB / 1.001 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.6816, allocations: 0.6788 MB / 1.002 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.6847, allocations: 2.886 MB / 1.004 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6847, allocations: 0.7031 kB / 1.004 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.71e-07/0.6847, allocations: 0 / 1.004 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.6848, allocations: 0 / 1.004 GB, free: 1.867 MB / 0.7325 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.00342/0.6882, allocations: 1.755 MB / 1.006 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.6882, allocations: 8.438 kB / 1.006 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.6884, allocations: 167.6 kB / 1.006 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.6905, allocations: 348.1 kB / 1.007 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.6915, allocations: 0.8296 MB / 1.007 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.6915, allocations: 83.5 kB / 1.008 GB, free: 16 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6916, allocations: 99.19 kB / 1.008 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.6932, allocations: 1.19 MB / 1.009 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.6932, allocations: 3.406 kB / 1.009 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.6933, allocations: 45.47 kB / 1.009 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.6934, allocations: 62.16 kB / 1.009 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.6949, allocations: 1.241 MB / 1.01 GB, free: 14.62 MB / 0.7481 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.005108/0.7001, allocations: 5.055 MB / 1.015 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.7013, allocations: 1.142 MB / 1.016 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.7019, allocations: 0.5067 MB / 1.017 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.7019, allocations: 18.69 kB / 1.017 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/0.7025, allocations: 487.1 kB / 1.017 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/0.7025, allocations: 0 / 1.017 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001611/0.7042, allocations: 1.154 MB / 1.018 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7042, allocations: 67.59 kB / 1.018 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.7048, allocations: 0.5652 MB / 1.019 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.7048, allocations: 46.58 kB / 1.019 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.7051, allocations: 455.7 kB / 1.019 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.7053, allocations: 272 kB / 1.02 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.7055, allocations: 128.6 kB / 1.02 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7056, allocations: 386.2 kB / 1.02 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.706, allocations: 326.9 kB / 1.02 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.7065, allocations: 459.1 kB / 1.021 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.7075, allocations: 0.8307 MB / 1.022 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7075, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001139/0.7086, allocations: 0.9258 MB / 1.023 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7086, allocations: 4.656 kB / 1.023 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7087, allocations: 7.375 kB / 1.023 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7087, allocations: 5.562 kB / 1.023 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.7092, allocations: 160.8 kB / 1.023 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.7093, allocations: 11.36 kB / 1.023 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.7101, allocations: 131.2 kB / 1.023 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.7102, allocations: 27.75 kB / 1.023 GB, free: 5.375 MB / 0.7481 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.000362/0.7105, allocations: 330.3 kB / 1.023 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.7107, allocations: 81.38 kB / 1.023 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.7108, allocations: 106.2 kB / 1.023 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7108, allocations: 12.59 kB / 1.023 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.7109, allocations: 3.984 kB / 1.023 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.7119, allocations: 1.084 MB / 1.024 GB, free: 4.211 MB / 0.7481 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.002683/0.7146, allocations: 2.306 MB / 1.027 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7146, allocations: 6.469 kB / 1.027 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.7153, allocations: 176.4 kB / 1.027 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7154, allocations: 3.031 kB / 1.027 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.7154, allocations: 24.11 kB / 1.027 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7154, allocations: 2.938 kB / 1.027 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7154, allocations: 1.812 kB / 1.027 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.7171, allocations: 1.485 MB / 1.028 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.7174, allocations: 254.1 kB / 1.029 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.7175, allocations: 14.8 kB / 1.029 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.7182, allocations: 96.17 kB / 1.029 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.7183, allocations: 41.84 kB / 1.029 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.7184, allocations: 30.58 kB / 1.029 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003697/0.7187, allocations: 402.5 kB / 1.029 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7187, allocations: 0 / 1.029 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007226/0.7195, allocations: 369.6 kB / 1.03 GB, free: 1.133 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.001972/0.7214, allocations: 2.114 MB / 1.032 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009273/0.7224, allocations: 0.7966 MB / 1.032 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7224, allocations: 0 / 1.032 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.7229, allocations: 429.5 kB / 1.033 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.725, allocations: 0.5585 MB / 1.033 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009812/0.7349, allocations: 7.847 MB / 1.041 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.7355, allocations: 1.136 MB / 1.042 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009655/0.7365, allocations: 268.3 kB / 1.042 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.737, allocations: 375.3 kB / 1.043 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/0.737, allocations: 0 / 1.043 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.7756, allocations: 24.75 MB / 1.067 GB, free: 14.14 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.7758, allocations: 199.9 kB / 1.067 GB, free: 13.89 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.827, allocations: 0 / 1.067 GB, free: 13.89 MB / 0.795 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)