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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.7 MB / 302.2 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 178.8 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 88.62 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.403e-05/5.407e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3113, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.342/6.653, allocations: 2.077 GB / 3.057 GB, free: 180.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/6.654, allocations: 88.97 kB / 3.057 GB, free: 180.2 MB / 0.948 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: 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 2.608/9.262, allocations: 0.6039 GB / 3.661 GB, free: 155.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/9.262, allocations: 0 / 3.661 GB, free: 155.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.57e-05/9.262, allocations: 23.47 kB / 3.661 GB, free: 155.6 MB / 0.948 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.004937/9.267, allocations: 1.542 MB / 3.662 GB, free: 154.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/9.267, allocations: 9.844 kB / 3.662 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/9.267, allocations: 159.9 kB / 3.662 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/9.269, allocations: 339.5 kB / 3.663 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/9.271, allocations: 0.8437 MB / 3.663 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/9.271, allocations: 71.64 kB / 3.664 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/9.271, allocations: 108.7 kB / 3.664 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/9.273, allocations: 1.096 MB / 3.665 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/9.273, allocations: 0 / 3.665 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/9.273, allocations: 50.47 kB / 3.665 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.646e-05/9.274, allocations: 59.5 kB / 3.665 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/9.275, allocations: 1.145 MB / 3.666 GB, free: 154.5 MB / 0.948 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.006572/9.282, allocations: 5.039 MB / 3.671 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/9.283, allocations: 0.962 MB / 3.672 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/9.284, allocations: 0.4907 MB / 3.672 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/9.284, allocations: 28.45 kB / 3.672 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007631/9.285, allocations: 477.9 kB / 3.673 GB, free: 151.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.699e-06/9.285, allocations: 0 / 3.673 GB, free: 151.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001652/9.286, allocations: 0.8385 MB / 3.674 GB, free: 151.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/9.286, allocations: 61.91 kB / 3.674 GB, free: 151.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/9.287, allocations: 0.4934 MB / 3.674 GB, free: 151.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/9.287, allocations: 41.48 kB / 3.674 GB, free: 151.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/9.287, allocations: 461.1 kB / 3.675 GB, free: 151.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/9.288, allocations: 269.7 kB / 3.675 GB, free: 151.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/9.288, allocations: 14.16 kB / 3.675 GB, free: 151.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001665/9.288, allocations: 382.5 kB / 3.675 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/9.289, allocations: 328.3 kB / 3.676 GB, free: 150.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/9.289, allocations: 449.4 kB / 3.676 GB, free: 150.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/9.29, allocations: 407.9 kB / 3.676 GB, free: 150.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/9.29, allocations: 3.25 kB / 3.676 GB, free: 150.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001488/9.291, allocations: 0.9283 MB / 3.677 GB, free: 150.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/9.291, allocations: 6.75 kB / 3.677 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/9.291, allocations: 3.25 kB / 3.677 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/9.291, allocations: 5.969 kB / 3.677 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/9.292, allocations: 152.6 kB / 3.677 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/9.292, allocations: 9.969 kB / 3.677 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/9.293, allocations: 138 kB / 3.678 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/9.293, allocations: 26.97 kB / 3.678 GB, free: 150.6 MB / 0.948 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.0002286/9.294, allocations: 145.2 kB / 3.678 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/9.294, allocations: 77.64 kB / 3.678 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/9.294, allocations: 114.1 kB / 3.678 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/9.294, allocations: 9 kB / 3.678 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/9.294, allocations: 0 / 3.678 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/9.296, allocations: 1.087 MB / 3.679 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/9.299, allocations: 2.183 MB / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/9.299, allocations: 0 / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/9.3, allocations: 176.8 kB / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/9.3, allocations: 3.281 kB / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/9.3, allocations: 21.47 kB / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/9.3, allocations: 3.594 kB / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.3, allocations: 11.28 kB / 3.681 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/9.302, allocations: 1.503 MB / 3.683 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/9.303, allocations: 254 kB / 3.683 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/9.303, allocations: 25.03 kB / 3.683 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/9.304, allocations: 94.38 kB / 3.683 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/9.304, allocations: 42.03 kB / 3.683 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/9.304, allocations: 28.5 kB / 3.683 GB, free: 149.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005494/9.305, allocations: 404.9 kB / 3.684 GB, free: 149.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/9.305, allocations: 0 / 3.684 GB, free: 149.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001695/9.306, allocations: 0.5107 MB / 3.684 GB, free: 149.1 MB / 0.948 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 () * 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.005629/9.312, allocations: 3.607 MB / 3.688 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00165/9.314, allocations: 0.8049 MB / 3.688 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/9.314, allocations: 0 / 3.688 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/9.314, allocations: 435.1 kB / 3.689 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/9.318, allocations: 0.5599 MB / 3.689 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/9.321, allocations: 2.05 MB / 3.691 GB, free: 147.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/9.322, allocations: 1.155 MB / 3.693 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00121/9.323, allocations: 268.2 kB / 3.693 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/9.324, allocations: 380.6 kB / 3.693 GB, free: 146.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.804e-06/9.324, allocations: 0 / 3.693 GB, free: 146.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/9.433, allocations: 55.16 MB / 3.747 GB, free: 144.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/9.433, allocations: 155.9 kB / 3.747 GB, free: 144.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/13.08, allocations: 0 / 3.747 GB, free: 144.3 MB / 0.948 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)