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.002762/0.002763, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00194/0.00194, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.962/2.962, allocations: 205.4 MB / 222.1 MB, free: 5.52 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 3.333/3.333, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.001005/0.001005, allocations: 15.78 kB / 0.6736 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4466, allocations: 116.3 MB / 0.7872 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.459/1.905, allocations: 168.7 MB / 0.952 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0183/1.924, allocations: 6.447 MB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/1.928, allocations: 25.47 kB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00462/1.932, allocations: 0.6598 MB / 0.959 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/1.948, allocations: 2.037 MB / 0.961 GB, free: 4.785 MB / 0.7169 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.006814/1.955, allocations: 0.7721 MB / 0.9617 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01006/1.965, allocations: 1.831 MB / 0.9635 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003677/1.969, allocations: 0.8171 MB / 0.9643 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007067/1.976, allocations: 1.136 MB / 0.9654 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/1.98, allocations: 0.6589 MB / 0.9661 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007209/1.981, allocations: 55.41 kB / 0.9661 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008699/1.99, allocations: 0.8659 MB / 0.967 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002281/1.992, allocations: 396.3 kB / 0.9673 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00306/1.995, allocations: 288.8 kB / 0.9676 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008388/2.004, allocations: 1.639 MB / 0.9692 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/2.004, allocations: 0 / 0.9692 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.144e-06/2.004, allocations: 0 / 0.9692 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001187/2.004, allocations: 0 / 0.9692 GB, free: 20.48 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.01038/2.015, allocations: 1.477 MB / 0.9707 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001098/2.015, allocations: 9.875 kB / 0.9707 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/2.016, allocations: 164 kB / 0.9708 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/2.021, allocations: 349.4 kB / 0.9712 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005008/2.026, allocations: 0.8056 MB / 0.9719 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/2.026, allocations: 77.73 kB / 0.972 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005095/2.027, allocations: 104.6 kB / 0.9721 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/2.031, allocations: 1.175 MB / 0.9733 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/2.031, allocations: 3.219 kB / 0.9733 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/2.031, allocations: 42.03 kB / 0.9733 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/2.032, allocations: 58.31 kB / 0.9734 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/2.035, allocations: 1.238 MB / 0.9746 GB, free: 19.18 MB / 0.7325 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.01527/2.051, allocations: 5.05 MB / 0.9795 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/2.053, allocations: 1.153 MB / 0.9806 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.731e-05/2.054, allocations: 16.08 kB / 0.9806 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/2.055, allocations: 481.1 kB / 0.9811 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 5.5e-06/2.055, allocations: 0 / 0.9811 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.003584/2.059, allocations: 1.154 MB / 0.9822 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/2.059, allocations: 60.09 kB / 0.9823 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/2.06, allocations: 0.5685 MB / 0.9828 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/2.06, allocations: 37.83 kB / 0.9829 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/2.061, allocations: 456.4 kB / 0.9833 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/2.061, allocations: 273.2 kB / 0.9836 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/2.062, allocations: 14.5 kB / 0.9836 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003955/2.062, allocations: 389.3 kB / 0.984 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008702/2.063, allocations: 328.8 kB / 0.9843 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/2.064, allocations: 456.8 kB / 0.9847 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/2.065, allocations: 402.1 kB / 0.9851 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/2.065, allocations: 0 / 0.9851 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002603/2.068, allocations: 0.9191 MB / 0.986 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/2.068, allocations: 4.719 kB / 0.986 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/2.068, allocations: 3.062 kB / 0.986 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.045e-05/2.068, allocations: 12.22 kB / 0.986 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/2.069, allocations: 152.2 kB / 0.9862 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.68e-05/2.069, allocations: 11.77 kB / 0.9862 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/2.072, allocations: 136.3 kB / 0.9863 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/2.072, allocations: 19.81 kB / 0.9863 GB, free: 13.99 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001433/2.073, allocations: 334.1 kB / 0.9866 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/2.074, allocations: 76.72 kB / 0.9867 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/2.074, allocations: 108.6 kB / 0.9868 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/2.074, allocations: 9.891 kB / 0.9868 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/2.074, allocations: 4 kB / 0.9868 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002448/2.076, allocations: 1.087 MB / 0.9879 GB, free: 13.25 MB / 0.7325 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.008117/2.085, allocations: 2.264 MB / 0.9901 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/2.085, allocations: 1.859 kB / 0.9901 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/2.086, allocations: 182.4 kB / 0.9903 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.452e-05/2.086, allocations: 3.312 kB / 0.9903 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.872e-05/2.086, allocations: 14.84 kB / 0.9903 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/2.086, allocations: 9.797 kB / 0.9903 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.086, allocations: 0 / 0.9903 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003482/2.09, allocations: 1.49 MB / 0.9917 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/2.091, allocations: 252.4 kB / 0.992 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/2.091, allocations: 19.42 kB / 0.992 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/2.093, allocations: 106.2 kB / 0.9921 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/2.093, allocations: 41.66 kB / 0.9921 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/2.093, allocations: 26.86 kB / 0.9922 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009949/2.094, allocations: 404 kB / 0.9926 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.324e-06/2.094, allocations: 0 / 0.9926 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002044/2.096, allocations: 370.1 kB / 0.9929 GB, free: 11.56 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004447/2.101, allocations: 2.188 MB / 0.9951 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002001/2.103, allocations: 0.8019 MB / 0.9958 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/2.103, allocations: 0 / 0.9958 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000817/2.104, allocations: 425.8 kB / 0.9962 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/2.108, allocations: 0.5556 MB / 0.9968 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/2.126, allocations: 7.418 MB / 1.004 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/2.127, allocations: 1.16 MB / 1.005 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002268/2.129, allocations: 272.7 kB / 1.005 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/2.13, allocations: 371.1 kB / 1.006 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of SimCode: time 2.564e-06/2.131, allocations: 0 / 1.006 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/2.258, allocations: 25.77 MB / 1.031 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004832/2.259, allocations: 189.5 kB / 1.031 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/6.704, allocations: 0 / 1.031 GB, free: 15.74 MB / 0.7637 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/linux/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) Environment - environmentSimulation: