Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_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.0008557/0.0008588, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004715/0.004715, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.192/1.192, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.376/2.376, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 13.19 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2584, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6638/0.9222, allocations: 199.2 MB / 1.253 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007635/0.9299, allocations: 6.389 MB / 1.26 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.9308, allocations: 31.81 kB / 1.26 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.9321, allocations: 0.6388 MB / 1.26 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.9372, allocations: 2.524 MB / 1.263 GB, free: 2.227 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.001308/0.9385, allocations: 0.6391 MB / 1.263 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004299/0.9428, allocations: 4.827 MB / 1.268 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.9439, allocations: 0.918 MB / 1.269 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.9456, allocations: 1.039 MB / 1.27 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.9477, allocations: 1.101 MB / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.9478, allocations: 56.16 kB / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004887/0.9527, allocations: 2.712 MB / 1.274 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.9533, allocations: 449.2 kB / 1.274 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.9543, allocations: 0.675 MB / 1.275 GB, free: 18.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.9594, allocations: 2.846 MB / 1.278 GB, free: 17.87 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.9594, allocations: 1.344 kB / 1.278 GB, free: 17.87 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9594, allocations: 0 / 1.278 GB, free: 17.87 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.9594, allocations: 4 kB / 1.278 GB, free: 17.87 MB / 1.014 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.003451/0.9629, allocations: 1.525 MB / 1.279 GB, free: 17.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9629, allocations: 15.28 kB / 1.279 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.9631, allocations: 161.6 kB / 1.279 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.9652, allocations: 344.8 kB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9663, allocations: 0.8397 MB / 1.28 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.9664, allocations: 78.55 kB / 1.28 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.9666, allocations: 104.4 kB / 1.281 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.9683, allocations: 1.193 MB / 1.282 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.9683, allocations: 3.516 kB / 1.282 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.9684, allocations: 40.19 kB / 1.282 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.9685, allocations: 55.95 kB / 1.282 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.9702, allocations: 1.248 MB / 1.283 GB, free: 16.52 MB / 1.014 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.005242/0.9754, allocations: 5.092 MB / 1.288 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.9767, allocations: 1.154 MB / 1.289 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.9774, allocations: 0.5058 MB / 1.29 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.9774, allocations: 17.73 kB / 1.29 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.978, allocations: 489.1 kB / 1.29 GB, free: 13.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/0.978, allocations: 2.906 kB / 1.29 GB, free: 13.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.001699/0.9797, allocations: 1.15 MB / 1.291 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.9798, allocations: 59.25 kB / 1.291 GB, free: 13.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.9804, allocations: 0.5732 MB / 1.292 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.9805, allocations: 40.27 kB / 1.292 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.9807, allocations: 464.3 kB / 1.292 GB, free: 12.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.9809, allocations: 274.8 kB / 1.293 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.981, allocations: 67.55 kB / 1.293 GB, free: 12.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9811, allocations: 391.2 kB / 1.293 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.9815, allocations: 332.5 kB / 1.293 GB, free: 12.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.982, allocations: 449.5 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.983, allocations: 0.8209 MB / 1.295 GB, free: 12.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.983, allocations: 1.25 kB / 1.295 GB, free: 12.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00118/0.9842, allocations: 0.9342 MB / 1.296 GB, free: 12.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9842, allocations: 6.312 kB / 1.296 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9842, allocations: 7.688 kB / 1.296 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9843, allocations: 5.5 kB / 1.296 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.9849, allocations: 156.2 kB / 1.296 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9849, allocations: 6.844 kB / 1.296 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9859, allocations: 155.1 kB / 1.296 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.986, allocations: 26.66 kB / 1.296 GB, free: 12.13 MB / 1.014 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.0003979/0.9864, allocations: 333.4 kB / 1.296 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.9865, allocations: 85.81 kB / 1.296 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.9867, allocations: 113.5 kB / 1.296 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9867, allocations: 8.328 kB / 1.296 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.9867, allocations: 4.297 kB / 1.296 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/0.9879, allocations: 1.089 MB / 1.297 GB, free: 11.5 MB / 1.014 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.002669/0.9905, allocations: 2.305 MB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9905, allocations: 3.094 kB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.9913, allocations: 177 kB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.9913, allocations: 7.25 kB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.9913, allocations: 23.33 kB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9914, allocations: 0 / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9914, allocations: 3.375 kB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.9929, allocations: 1.352 MB / 1.301 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.9932, allocations: 254.2 kB / 1.301 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.9933, allocations: 19.59 kB / 1.301 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/0.9941, allocations: 99.36 kB / 1.302 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.9942, allocations: 44.19 kB / 1.302 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.9942, allocations: 24.25 kB / 1.302 GB, free: 10.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004102/0.9946, allocations: 414.2 kB / 1.302 GB, free: 10.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.42e-07/0.9947, allocations: 0 / 1.302 GB, free: 10.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008706/0.9955, allocations: 364.3 kB / 1.302 GB, free: 10.47 MB / 1.014 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.001803/0.9973, allocations: 1.979 MB / 1.304 GB, free: 9.723 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008808/0.9982, allocations: 0.7968 MB / 1.305 GB, free: 9.707 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9982, allocations: 0 / 1.305 GB, free: 9.707 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.9987, allocations: 424.1 kB / 1.306 GB, free: 9.703 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.001, allocations: 0.5711 MB / 1.306 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008414/1.01, allocations: 8.01 MB / 1.314 GB, free: 6.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/1.01, allocations: 1.14 MB / 1.315 GB, free: 5.887 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008759/1.011, allocations: 279.7 kB / 1.315 GB, free: 5.824 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/1.011, allocations: 383.1 kB / 1.316 GB, free: 5.816 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/1.011, allocations: 0 / 1.316 GB, free: 5.816 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2665/1.278, allocations: 24.57 MB / 1.34 GB, free: 14.15 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.278, allocations: 199 kB / 1.34 GB, free: 13.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.451, allocations: 3.125 kB / 1.34 GB, free: 13.9 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)