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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 221.3 MB / 0.7915 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 99.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.744e-05/4.759e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.335, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.13/6.465, allocations: 1.923 GB / 3.142 GB, free: 336 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/6.466, allocations: 86.86 kB / 3.142 GB, free: 336 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 1.852/8.318, allocations: 0.6156 GB / 3.757 GB, free: 171.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.262e-06/8.318, allocations: 0 / 3.757 GB, free: 171.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001122/8.318, allocations: 32.11 kB / 3.757 GB, free: 171.8 MB / 1.167 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.005036/8.323, allocations: 1.552 MB / 3.759 GB, free: 170.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/8.323, allocations: 8.031 kB / 3.759 GB, free: 170.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004529/8.324, allocations: 160.6 kB / 3.759 GB, free: 170.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/8.326, allocations: 342.2 kB / 3.759 GB, free: 169.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/8.328, allocations: 0.855 MB / 3.76 GB, free: 168.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/8.328, allocations: 78 kB / 3.76 GB, free: 168.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/8.328, allocations: 107.9 kB / 3.76 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/8.331, allocations: 1.094 MB / 3.762 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/8.331, allocations: 3.938 kB / 3.762 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/8.331, allocations: 47.97 kB / 3.762 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-05/8.331, allocations: 58.08 kB / 3.762 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/8.333, allocations: 1.144 MB / 3.763 GB, free: 166.2 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.006151/8.339, allocations: 5.056 MB / 3.768 GB, free: 160.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/8.34, allocations: 0.9617 MB / 3.769 GB, free: 159.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/8.341, allocations: 0.4899 MB / 3.769 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.185e-05/8.341, allocations: 12.92 kB / 3.769 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/8.341, allocations: 494 kB / 3.77 GB, free: 158.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.607e-06/8.341, allocations: 0 / 3.77 GB, free: 158.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.0014/8.343, allocations: 0.8468 MB / 3.77 GB, free: 157.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/8.343, allocations: 64.12 kB / 3.77 GB, free: 157.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/8.343, allocations: 0.5034 MB / 3.771 GB, free: 157.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/8.344, allocations: 41.64 kB / 3.771 GB, free: 157.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/8.344, allocations: 463.7 kB / 3.771 GB, free: 156.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/8.344, allocations: 272.1 kB / 3.772 GB, free: 156.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/8.344, allocations: 12 kB / 3.772 GB, free: 156.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001066/8.344, allocations: 386.8 kB / 3.772 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/8.345, allocations: 325.5 kB / 3.772 GB, free: 155.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/8.345, allocations: 446.8 kB / 3.773 GB, free: 155.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/8.345, allocations: 401.9 kB / 3.773 GB, free: 154.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/8.345, allocations: 4 kB / 3.773 GB, free: 154.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001208/8.347, allocations: 0.9286 MB / 3.774 GB, free: 154 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/8.347, allocations: 4.344 kB / 3.774 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/8.347, allocations: 8 kB / 3.774 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/8.347, allocations: 8 kB / 3.774 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/8.347, allocations: 155.8 kB / 3.774 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/8.347, allocations: 11.94 kB / 3.774 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/8.349, allocations: 159.2 kB / 3.774 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/8.349, allocations: 24 kB / 3.774 GB, free: 153.6 MB / 1.167 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 () * 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.0001497/8.349, allocations: 144.8 kB / 3.775 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/8.349, allocations: 90.98 kB / 3.775 GB, free: 153.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/8.349, allocations: 111.8 kB / 3.775 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/8.349, allocations: 4 kB / 3.775 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/8.349, allocations: 4 kB / 3.775 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/8.35, allocations: 1.092 MB / 3.776 GB, free: 152.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/8.354, allocations: 2.187 MB / 3.778 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/8.354, allocations: 0 / 3.778 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/8.354, allocations: 175.8 kB / 3.778 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/8.355, allocations: 4 kB / 3.778 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/8.355, allocations: 24.02 kB / 3.778 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/8.355, allocations: 4 kB / 3.778 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/8.355, allocations: 0 / 3.778 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/8.356, allocations: 1.368 MB / 3.78 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/8.357, allocations: 256 kB / 3.78 GB, free: 148 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/8.357, allocations: 16 kB / 3.78 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/8.358, allocations: 95.84 kB / 3.78 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/8.358, allocations: 44.72 kB / 3.78 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/8.358, allocations: 27.98 kB / 3.78 GB, free: 147.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004515/8.358, allocations: 411.2 kB / 3.78 GB, free: 147.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/8.358, allocations: 0 / 3.78 GB, free: 147.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001589/8.36, allocations: 0.5067 MB / 3.781 GB, free: 146.9 MB / 1.167 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 () * 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.004013/8.364, allocations: 3.482 MB / 3.784 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001095/8.365, allocations: 0.8049 MB / 3.785 GB, free: 142.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/8.365, allocations: 0 / 3.785 GB, free: 142.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/8.366, allocations: 432.3 kB / 3.785 GB, free: 142.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/8.368, allocations: 0.5473 MB / 3.786 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/8.373, allocations: 2.074 MB / 3.788 GB, free: 139.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/8.373, allocations: 1.159 MB / 3.789 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001131/8.374, allocations: 271.2 kB / 3.789 GB, free: 137.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/8.375, allocations: 383.3 kB / 3.79 GB, free: 137.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/8.375, allocations: 0 / 3.79 GB, free: 137.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07899/8.454, allocations: 55.22 MB / 3.844 GB, free: 82.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/8.454, allocations: 154.6 kB / 3.844 GB, free: 82.37 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/12.49, allocations: 0 / 3.844 GB, free: 82.37 MB / 1.167 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat does not exist to compare? outputFormat=mat