Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005401/0.005401, allocations: 96.88 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 193 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 284 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.165/1.165, allocations: 178.5 MB / 0.5074 GB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 95.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4002, allocations: 89.13 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6844/1.085, allocations: 295.1 MB / 1.07 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02079/1.105, allocations: 17.02 MB / 1.086 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/1.109, allocations: 80.34 kB / 1.086 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/1.114, allocations: 1.889 MB / 1.088 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/1.129, allocations: 6.434 MB / 1.094 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00717/1.136, allocations: 2.942 MB / 1.097 GB, free: 424 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01056/1.147, allocations: 7.722 MB / 1.105 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003771/1.15, allocations: 2.588 MB / 1.107 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/1.156, allocations: 2.771 MB / 1.11 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005223/1.161, allocations: 2.706 MB / 1.113 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000695/1.162, allocations: 328.7 kB / 1.113 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/1.175, allocations: 6.167 MB / 1.119 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002054/1.177, allocations: 1.331 MB / 1.12 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003487/1.18, allocations: 1.883 MB / 1.122 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.195, allocations: 6.908 MB / 1.129 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.195, allocations: 3.938 kB / 1.129 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/1.195, allocations: 4 kB / 1.129 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001024/1.195, allocations: 0 / 1.129 GB, free: 14.57 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01056/1.206, allocations: 4.227 MB / 1.133 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.206, allocations: 12.03 kB / 1.133 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005125/1.206, allocations: 377.6 kB / 1.133 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006145/1.212, allocations: 0.9273 MB / 1.134 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/1.216, allocations: 1.936 MB / 1.136 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.216, allocations: 197.3 kB / 1.136 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/1.217, allocations: 262.8 kB / 1.137 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005888/1.223, allocations: 3.337 MB / 1.14 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/1.223, allocations: 7.953 kB / 1.14 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/1.223, allocations: 109.4 kB / 1.14 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/1.223, allocations: 148.2 kB / 1.14 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00615/1.229, allocations: 3.49 MB / 1.144 GB, free: 15.5 MB / 0.795 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.01688/1.246, allocations: 12.18 MB / 1.155 GB, free: 2.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004951/1.251, allocations: 3.504 MB / 1.159 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/1.254, allocations: 1.848 MB / 1.161 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/1.256, allocations: 1.488 MB / 1.162 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/1.256, allocations: 64.75 kB / 1.162 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 4.108e-06/1.256, allocations: 0 / 1.162 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.006889/1.263, allocations: 3.89 MB / 1.166 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/1.263, allocations: 85.59 kB / 1.166 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/1.265, allocations: 1.379 MB / 1.167 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/1.265, allocations: 77.7 kB / 1.167 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/1.266, allocations: 1.009 MB / 1.168 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009473/1.267, allocations: 0.989 MB / 1.169 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/1.268, allocations: 404.9 kB / 1.17 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.268, allocations: 309.1 kB / 1.17 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/1.27, allocations: 1.09 MB / 1.171 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/1.272, allocations: 1.362 MB / 1.172 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/1.276, allocations: 2.655 MB / 1.175 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.276, allocations: 0 / 1.175 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005066/1.281, allocations: 2.989 MB / 1.178 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.281, allocations: 4 kB / 1.178 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.281, allocations: 4 kB / 1.178 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/1.281, allocations: 16 kB / 1.178 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.283, allocations: 0.5105 MB / 1.179 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/1.283, allocations: 23.31 kB / 1.179 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.285, allocations: 198.8 kB / 1.179 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.285, allocations: 83.98 kB / 1.179 GB, free: 10.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001186/1.287, allocations: 0.6414 MB / 1.179 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/1.287, allocations: 238.5 kB / 1.18 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/1.292, allocations: 3.112 MB / 1.183 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.292, allocations: 28 kB / 1.183 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.292, allocations: 3.938 kB / 1.183 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00403/1.296, allocations: 2.656 MB / 1.185 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009741/1.306, allocations: 6.216 MB / 1.191 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.306, allocations: 3.938 kB / 1.191 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/1.309, allocations: 0.5392 MB / 1.192 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/1.309, allocations: 12 kB / 1.192 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.309, allocations: 67.97 kB / 1.192 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/1.309, allocations: 8 kB / 1.192 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.309, allocations: 0 / 1.192 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007018/1.316, allocations: 4.578 MB / 1.196 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.317, allocations: 0.6198 MB / 1.197 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/1.318, allocations: 51.98 kB / 1.197 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.319, allocations: 66.97 kB / 1.197 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/1.319, allocations: 169.9 kB / 1.197 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.32, allocations: 75.98 kB / 1.197 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001354/1.321, allocations: 0.9493 MB / 1.198 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/1.321, allocations: 0 / 1.198 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002167/1.323, allocations: 0.9828 MB / 1.199 GB, free: 4.891 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007714/1.331, allocations: 5.406 MB / 1.205 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00443/1.335, allocations: 2.775 MB / 1.207 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.335, allocations: 0 / 1.207 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.338, allocations: 1.509 MB / 1.209 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006143/1.344, allocations: 1.35 MB / 1.21 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/1.374, allocations: 19.53 MB / 1.229 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.376, allocations: 1.899 MB / 1.231 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002753/1.379, allocations: 0.8358 MB / 1.232 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.38, allocations: 1.089 MB / 1.233 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of SimCode: time 9.72e-07/1.38, allocations: 0 / 1.233 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.503, allocations: 68.29 MB / 1.3 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.68, allocations: 13.27 kB / 1.3 GB, free: 14.82 MB / 0.9512 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)