Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7588/0.7588, allocations: 133.5 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009041, allocations: 102.5 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.179e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5295, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.242/5.772, allocations: 1.884 GB / 2.518 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/5.772, allocations: 83.95 kB / 2.518 GB, free: 154.4 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 2.145/7.918, allocations: 0.6059 GB / 3.124 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/7.918, allocations: 0 / 3.124 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001357/7.918, allocations: 31.94 kB / 3.124 GB, free: 64.53 MB / 0.6823 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.006144/7.924, allocations: 1.545 MB / 3.126 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/7.924, allocations: 12.03 kB / 3.126 GB, free: 62.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/7.927, allocations: 330.2 kB / 3.126 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/7.929, allocations: 0.8628 MB / 3.127 GB, free: 61.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/7.929, allocations: 32 kB / 3.127 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/7.929, allocations: 67.8 kB / 3.127 GB, free: 61.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002012/7.931, allocations: 0.992 MB / 3.128 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/7.933, allocations: 0.949 MB / 3.129 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/7.933, allocations: 0 / 3.129 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/7.933, allocations: 4 kB / 3.129 GB, free: 59.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/7.934, allocations: 62.06 kB / 3.129 GB, free: 59.55 MB / 0.6823 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.006315/7.94, allocations: 4.844 MB / 3.134 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/7.942, allocations: 3.396 MB / 3.137 GB, free: 50.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/7.943, allocations: 447.3 kB / 3.137 GB, free: 49.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/7.943, allocations: 24.86 kB / 3.137 GB, free: 49.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/7.943, allocations: 392.5 kB / 3.138 GB, free: 49.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 5.07e-06/7.944, allocations: 0 / 3.138 GB, free: 49.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001273/7.945, allocations: 0.6908 MB / 3.139 GB, free: 48.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/7.945, allocations: 60.19 kB / 3.139 GB, free: 48.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/7.945, allocations: 422.3 kB / 3.139 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/7.945, allocations: 25.7 kB / 3.139 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/7.946, allocations: 459.5 kB / 3.139 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/7.946, allocations: 264.1 kB / 3.14 GB, free: 47.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/7.946, allocations: 0 / 3.14 GB, free: 47.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000121/7.946, allocations: 378.7 kB / 3.14 GB, free: 47.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/7.946, allocations: 265.5 kB / 3.14 GB, free: 46.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/7.947, allocations: 375 kB / 3.141 GB, free: 46.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/7.947, allocations: 344.4 kB / 3.141 GB, free: 46.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/7.947, allocations: 0 / 3.141 GB, free: 46.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001032/7.948, allocations: 0.7609 MB / 3.142 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/7.948, allocations: 5.25 kB / 3.142 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/7.948, allocations: 4 kB / 3.142 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/7.948, allocations: 8 kB / 3.142 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/7.949, allocations: 159.8 kB / 3.142 GB, free: 45.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/7.949, allocations: 7.938 kB / 3.142 GB, free: 45.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/7.95, allocations: 111.6 kB / 3.142 GB, free: 45.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/7.95, allocations: 28 kB / 3.142 GB, free: 45.02 MB / 0.6823 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.0001467/7.95, allocations: 124.7 kB / 3.142 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000887/7.951, allocations: 0.679 MB / 3.143 GB, free: 44.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/7.951, allocations: 75.06 kB / 3.143 GB, free: 44.13 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/7.952, allocations: 83.55 kB / 3.143 GB, free: 44.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/7.952, allocations: 8 kB / 3.143 GB, free: 44.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/7.952, allocations: 4 kB / 3.143 GB, free: 44.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008191/7.952, allocations: 0.9553 MB / 3.144 GB, free: 42.99 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.002995/7.955, allocations: 2.492 MB / 3.146 GB, free: 40.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/7.955, allocations: 0 / 3.146 GB, free: 40.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/7.956, allocations: 175.9 kB / 3.147 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/7.956, allocations: 7.938 kB / 3.147 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/7.956, allocations: 11.98 kB / 3.147 GB, free: 40.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/7.956, allocations: 4 kB / 3.147 GB, free: 40.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/7.956, allocations: 0 / 3.147 GB, free: 40.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/7.958, allocations: 1.247 MB / 3.148 GB, free: 38.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/7.958, allocations: 236.1 kB / 3.148 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.376e-05/7.958, allocations: 7.969 kB / 3.148 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/7.959, allocations: 95.75 kB / 3.148 GB, free: 38.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/7.959, allocations: 40.72 kB / 3.148 GB, free: 38.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/7.959, allocations: 27.98 kB / 3.148 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003408/7.959, allocations: 326.9 kB / 3.148 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/7.959, allocations: 3.938 kB / 3.148 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00122/7.961, allocations: 446.9 kB / 3.149 GB, free: 37.67 MB / 0.6823 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.003428/7.964, allocations: 3.569 MB / 3.152 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008806/7.965, allocations: 0.6571 MB / 3.153 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/7.965, allocations: 0 / 3.153 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/7.965, allocations: 350.8 kB / 3.153 GB, free: 32.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/7.968, allocations: 497.9 kB / 3.154 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/7.971, allocations: 1.922 MB / 3.156 GB, free: 30.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/7.971, allocations: 1.163 MB / 3.157 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008895/7.972, allocations: 246.6 kB / 3.157 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/7.973, allocations: 375.3 kB / 3.157 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/7.973, allocations: 0 / 3.157 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5484/8.521, allocations: 35.63 MB / 3.192 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/8.522, allocations: 125 kB / 3.192 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/11.57, allocations: 0 / 3.192 GB, free: 122.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)