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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.000851/0.0008511, allocations: 94.45 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.213e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2493, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.148/6.398, allocations: 2.194 GB / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/6.398, allocations: 83.95 kB / 3.086 GB, free: 175.3 MB / 0.8698 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.52/8.918, allocations: 0.5899 GB / 3.676 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.845e-06/8.918, allocations: 0 / 3.676 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.446e-05/8.918, allocations: 26.25 kB / 3.676 GB, free: 169.7 MB / 0.8698 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.004778/8.923, allocations: 1.547 MB / 3.677 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/8.923, allocations: 7.875 kB / 3.677 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/8.923, allocations: 170.8 kB / 3.678 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/8.925, allocations: 346.9 kB / 3.678 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/8.927, allocations: 0.8495 MB / 3.679 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/8.927, allocations: 74.08 kB / 3.679 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/8.927, allocations: 109.7 kB / 3.679 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/8.929, allocations: 1.105 MB / 3.68 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/8.929, allocations: 0 / 3.68 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/8.929, allocations: 48.61 kB / 3.68 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/8.929, allocations: 59.84 kB / 3.68 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/8.931, allocations: 1.157 MB / 3.681 GB, free: 168.6 MB / 0.8698 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.006127/8.937, allocations: 5.058 MB / 3.686 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/8.938, allocations: 0.9493 MB / 3.687 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/8.939, allocations: 0.4953 MB / 3.688 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/8.939, allocations: 13.42 kB / 3.688 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/8.94, allocations: 493.5 kB / 3.688 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.767e-06/8.94, allocations: 3.75 kB / 3.688 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001474/8.941, allocations: 0.8289 MB / 3.689 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/8.941, allocations: 58.84 kB / 3.689 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/8.942, allocations: 0.5076 MB / 3.689 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/8.942, allocations: 44.73 kB / 3.69 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/8.942, allocations: 460.1 kB / 3.69 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/8.942, allocations: 267.9 kB / 3.69 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/8.942, allocations: 13.78 kB / 3.69 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/8.943, allocations: 390.5 kB / 3.691 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/8.943, allocations: 320.7 kB / 3.691 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/8.943, allocations: 451 kB / 3.691 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/8.944, allocations: 398.2 kB / 3.692 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/8.944, allocations: 10.91 kB / 3.692 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001244/8.945, allocations: 0.9097 MB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/8.945, allocations: 7.719 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/8.945, allocations: 3.594 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/8.945, allocations: 10.53 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/8.946, allocations: 156.2 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/8.946, allocations: 7.156 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/8.947, allocations: 142.9 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/8.947, allocations: 30.98 kB / 3.693 GB, free: 164.7 MB / 0.8698 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.0001683/8.947, allocations: 144.8 kB / 3.693 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/8.948, allocations: 84.33 kB / 3.693 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/8.948, allocations: 110.1 kB / 3.693 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/8.948, allocations: 7 kB / 3.693 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/8.948, allocations: 2.719 kB / 3.693 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/8.949, allocations: 1.083 MB / 3.694 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/8.952, allocations: 2.188 MB / 3.696 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/8.952, allocations: 0 / 3.696 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/8.953, allocations: 181.2 kB / 3.697 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/8.953, allocations: 3.938 kB / 3.697 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/8.953, allocations: 20.78 kB / 3.697 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/8.953, allocations: 0 / 3.697 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/8.953, allocations: 7.891 kB / 3.697 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/8.955, allocations: 1.487 MB / 3.698 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/8.955, allocations: 265.6 kB / 3.698 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/8.956, allocations: 13.75 kB / 3.698 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/8.956, allocations: 109 kB / 3.699 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/8.956, allocations: 43.61 kB / 3.699 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/8.957, allocations: 29.69 kB / 3.699 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004741/8.957, allocations: 408.5 kB / 3.699 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/8.957, allocations: 0 / 3.699 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001583/8.959, allocations: 0.511 MB / 3.699 GB, free: 163.2 MB / 0.8698 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.004052/8.963, allocations: 3.614 MB / 3.703 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001157/8.964, allocations: 0.7929 MB / 3.704 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/8.964, allocations: 3.172 kB / 3.704 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/8.964, allocations: 431 kB / 3.704 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/8.967, allocations: 0.5488 MB / 3.705 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/8.971, allocations: 2.072 MB / 3.707 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/8.971, allocations: 1.163 MB / 3.708 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001087/8.972, allocations: 275.1 kB / 3.708 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/8.973, allocations: 376.6 kB / 3.709 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.024e-06/8.973, allocations: 0 / 3.709 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08929/9.062, allocations: 55.43 MB / 3.763 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/9.063, allocations: 168 kB / 3.763 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.896/12.96, allocations: 0 / 3.763 GB, free: 142.9 MB / 0.8698 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)