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.001132/0.001132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 197 kB / 16.53 MB, free: 6.664 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.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.537/1.537, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001405/0.001405, allocations: 69.38 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.247, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7244/0.9715, allocations: 204.2 MB / 0.9828 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009802/0.9813, allocations: 6.295 MB / 0.989 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.9834, allocations: 39.28 kB / 0.989 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.9856, allocations: 0.7295 MB / 0.9897 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007289/0.9929, allocations: 2.665 MB / 0.9923 GB, free: 10.71 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.001863/0.9948, allocations: 0.6924 MB / 0.993 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.9985, allocations: 3.254 MB / 0.9962 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/1, allocations: 1.134 MB / 0.9973 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/1.002, allocations: 1.238 MB / 0.9985 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/1.005, allocations: 1.102 MB / 0.9996 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/1.005, allocations: 127.8 kB / 0.9997 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/1.01, allocations: 2.359 MB / 1.002 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006351/1.01, allocations: 0.513 MB / 1.003 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/1.012, allocations: 0.7366 MB / 1.003 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004697/1.016, allocations: 2.768 MB / 1.006 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.016, allocations: 0 / 1.006 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.52e-07/1.016, allocations: 2.969 kB / 1.006 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.611e-05/1.016, allocations: 0 / 1.006 GB, free: 3.387 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.003777/1.02, allocations: 1.766 MB / 1.008 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/1.02, allocations: 7.812 kB / 1.008 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/1.02, allocations: 160.4 kB / 1.008 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/1.022, allocations: 347.5 kB / 1.008 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.023, allocations: 0.8304 MB / 1.009 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/1.024, allocations: 82.53 kB / 1.009 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.024, allocations: 103.2 kB / 1.009 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/1.025, allocations: 1.19 MB / 1.01 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.025, allocations: 0 / 1.01 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/1.025, allocations: 41.56 kB / 1.01 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/1.025, allocations: 62.06 kB / 1.01 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.027, allocations: 1.241 MB / 1.012 GB, free: 15.79 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.005083/1.032, allocations: 5.122 MB / 1.017 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.033, allocations: 1.156 MB / 1.018 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/1.034, allocations: 0.4987 MB / 1.018 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/1.034, allocations: 19.8 kB / 1.018 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/1.035, allocations: 485.3 kB / 1.019 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 1.863e-06/1.035, allocations: 0 / 1.019 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001598/1.036, allocations: 1.153 MB / 1.02 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/1.036, allocations: 67.22 kB / 1.02 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/1.037, allocations: 0.5666 MB / 1.02 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/1.037, allocations: 36.52 kB / 1.02 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/1.037, allocations: 461.2 kB / 1.021 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/1.037, allocations: 269.1 kB / 1.021 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.037, allocations: 136.7 kB / 1.021 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.038, allocations: 382.8 kB / 1.022 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/1.038, allocations: 327.9 kB / 1.022 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/1.039, allocations: 460.9 kB / 1.022 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/1.039, allocations: 0.8232 MB / 1.023 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.039, allocations: 0 / 1.023 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001145/1.041, allocations: 0.9296 MB / 1.024 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.041, allocations: 4.719 kB / 1.024 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.041, allocations: 2.656 kB / 1.024 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.041, allocations: 9.438 kB / 1.024 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/1.041, allocations: 154.9 kB / 1.024 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.041, allocations: 12.77 kB / 1.024 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/1.042, allocations: 67.03 kB / 1.024 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/1.042, allocations: 27.69 kB / 1.024 GB, free: 6.445 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.0003681/1.042, allocations: 327.1 kB / 1.025 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.043, allocations: 74.84 kB / 1.025 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/1.043, allocations: 108.1 kB / 1.025 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.043, allocations: 11.5 kB / 1.025 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.043, allocations: 2.75 kB / 1.025 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/1.044, allocations: 1.084 MB / 1.026 GB, free: 5.273 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.002617/1.046, allocations: 2.305 MB / 1.028 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.046, allocations: 2.312 kB / 1.028 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/1.047, allocations: 177.9 kB / 1.028 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.047, allocations: 9.562 kB / 1.028 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/1.047, allocations: 19.05 kB / 1.028 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/1.047, allocations: 5.812 kB / 1.028 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.047, allocations: 3.484 kB / 1.028 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/1.049, allocations: 1.49 MB / 1.03 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.049, allocations: 243.4 kB / 1.03 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/1.049, allocations: 20.98 kB / 1.03 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/1.05, allocations: 15.12 kB / 1.03 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/1.05, allocations: 49.12 kB / 1.03 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/1.05, allocations: 29.67 kB / 1.03 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003885/1.05, allocations: 407.9 kB / 1.031 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.05, allocations: 0 / 1.031 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007803/1.051, allocations: 371 kB / 1.031 GB, free: 1.77 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.002009/1.053, allocations: 2.103 MB / 1.033 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.055, allocations: 1.04 MB / 1.034 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.055, allocations: 0 / 1.034 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004663/1.055, allocations: 423.6 kB / 1.034 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.058, allocations: 0.6048 MB / 1.035 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007861/1.065, allocations: 7.407 MB / 1.042 GB, free: 6.043 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/1.066, allocations: 1.136 MB / 1.043 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008205/1.067, allocations: 275.1 kB / 1.044 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/1.067, allocations: 379.2 kB / 1.044 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of SimCode: time 2.5e-07/1.067, allocations: 0 / 1.044 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/1.224, allocations: 25.72 MB / 1.069 GB, free: 10.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.771, allocations: 12 kB / 1.069 GB, free: 10.81 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)