Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 186.7 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009754/0.0009752, allocations: 94.2 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 7.938 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2188, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.372, allocations: 2.194 GB / 3.094 GB, free: 27.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/5.372, allocations: 91.95 kB / 3.094 GB, free: 27 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.508/7.88, allocations: 0.5904 GB / 3.685 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/7.88, allocations: 4 kB / 3.685 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001389/7.88, allocations: 24 kB / 3.685 GB, free: 126.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006494/7.886, allocations: 1.683 MB / 3.687 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/7.886, allocations: 8.031 kB / 3.687 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006528/7.887, allocations: 164.7 kB / 3.687 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/7.89, allocations: 339.8 kB / 3.687 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/7.892, allocations: 0.8593 MB / 3.688 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/7.892, allocations: 78.05 kB / 3.688 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/7.892, allocations: 104 kB / 3.688 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/7.895, allocations: 1.125 MB / 3.689 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/7.895, allocations: 0 / 3.689 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/7.895, allocations: 47.98 kB / 3.689 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.032e-05/7.895, allocations: 62.09 kB / 3.689 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/7.897, allocations: 1.172 MB / 3.69 GB, free: 120.3 MB / 0.8855 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.00605/7.903, allocations: 5.064 MB / 3.695 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/7.904, allocations: 0.946 MB / 3.696 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/7.904, allocations: 20.62 kB / 3.696 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/7.905, allocations: 0.4923 MB / 3.697 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.456e-06/7.905, allocations: 0 / 3.697 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.001711/7.907, allocations: 1.172 MB / 3.698 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/7.907, allocations: 60.06 kB / 3.698 GB, free: 112 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/7.907, allocations: 0.5073 MB / 3.698 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/7.907, allocations: 45.7 kB / 3.698 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/7.907, allocations: 463.6 kB / 3.699 GB, free: 111 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/7.908, allocations: 260.1 kB / 3.699 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/7.908, allocations: 16 kB / 3.699 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001142/7.908, allocations: 394.8 kB / 3.7 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/7.908, allocations: 329.8 kB / 3.7 GB, free: 110 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/7.909, allocations: 458.4 kB / 3.7 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/7.909, allocations: 407 kB / 3.701 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/7.909, allocations: 4 kB / 3.701 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001117/7.91, allocations: 0.9335 MB / 3.702 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/7.91, allocations: 4 kB / 3.702 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/7.91, allocations: 4 kB / 3.702 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/7.91, allocations: 8 kB / 3.702 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/7.911, allocations: 156.1 kB / 3.702 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/7.911, allocations: 8 kB / 3.702 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.912, allocations: 147.1 kB / 3.702 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/7.912, allocations: 24 kB / 3.702 GB, free: 107.9 MB / 0.8855 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.0006898/7.913, allocations: 333.6 kB / 3.702 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/7.913, allocations: 79.06 kB / 3.702 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/7.913, allocations: 111.8 kB / 3.702 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/7.913, allocations: 8 kB / 3.702 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/7.913, allocations: 3.953 kB / 3.702 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/7.914, allocations: 1.097 MB / 3.704 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/7.918, allocations: 2.148 MB / 3.706 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/7.918, allocations: 3.938 kB / 3.706 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/7.919, allocations: 187.7 kB / 3.706 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/7.919, allocations: 4 kB / 3.706 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/7.919, allocations: 20.02 kB / 3.706 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/7.919, allocations: 4 kB / 3.706 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/7.919, allocations: 4 kB / 3.706 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/7.92, allocations: 1.5 MB / 3.707 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/7.921, allocations: 264 kB / 3.708 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/7.921, allocations: 16 kB / 3.708 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/7.922, allocations: 111.8 kB / 3.708 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/7.922, allocations: 44.53 kB / 3.708 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/7.922, allocations: 23.98 kB / 3.708 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004818/7.923, allocations: 415.1 kB / 3.708 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.8e-07/7.923, allocations: 3.938 kB / 3.708 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001541/7.924, allocations: 0.5185 MB / 3.709 GB, free: 100.8 MB / 0.8855 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.003923/7.928, allocations: 3.625 MB / 3.712 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001159/7.929, allocations: 0.8099 MB / 3.713 GB, free: 96.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/7.929, allocations: 0 / 3.713 GB, free: 96.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004664/7.93, allocations: 435.5 kB / 3.713 GB, free: 95.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/7.932, allocations: 0.5533 MB / 3.714 GB, free: 95.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007716/7.94, allocations: 7.496 MB / 3.721 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/7.941, allocations: 1.163 MB / 3.722 GB, free: 86.47 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001112/7.942, allocations: 279.1 kB / 3.723 GB, free: 86.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/7.942, allocations: 375.3 kB / 3.723 GB, free: 85.83 MB / 0.8855 GB Notification: Performance of SimCode: time 1.422e-06/7.942, allocations: 0 / 3.723 GB, free: 85.83 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07727/8.02, allocations: 50.98 MB / 3.773 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/8.02, allocations: 180.2 kB / 3.773 GB, free: 34.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/11.62, allocations: 0 / 3.773 GB, free: 34.84 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)