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.02994/0.02994, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.04721/0.04721, allocations: 191.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 282.2 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.132/1.132, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 93.44 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2139, allocations: 86.98 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8965/1.11, allocations: 291.7 MB / 0.9646 GB, free: 3.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02618/1.137, allocations: 16.94 MB / 0.9811 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/1.142, allocations: 71.62 kB / 0.9812 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005418/1.147, allocations: 1.691 MB / 0.9828 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01806/1.165, allocations: 6.056 MB / 0.9888 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009185/1.174, allocations: 2.714 MB / 0.9914 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01202/1.186, allocations: 7.694 MB / 0.9989 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/1.191, allocations: 2.542 MB / 1.001 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006854/1.198, allocations: 2.818 MB / 1.004 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006406/1.204, allocations: 2.876 MB / 1.007 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/1.206, allocations: 328 kB / 1.007 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/1.219, allocations: 6.44 MB / 1.014 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00214/1.221, allocations: 1.336 MB / 1.015 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003414/1.225, allocations: 1.875 MB / 1.017 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/1.24, allocations: 7.292 MB / 1.024 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.24, allocations: 0 / 1.024 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/1.24, allocations: 0 / 1.024 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001398/1.24, allocations: 0 / 1.024 GB, free: 7.008 MB / 0.7325 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.01116/1.251, allocations: 4.13 MB / 1.028 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.251, allocations: 12.03 kB / 1.028 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004317/1.252, allocations: 371 kB / 1.028 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005915/1.258, allocations: 0.9133 MB / 1.029 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/1.261, allocations: 1.846 MB / 1.031 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.261, allocations: 197.1 kB / 1.031 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/1.261, allocations: 256 kB / 1.031 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004962/1.266, allocations: 3.334 MB / 1.035 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/1.266, allocations: 3.906 kB / 1.035 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/1.266, allocations: 111.9 kB / 1.035 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/1.267, allocations: 137 kB / 1.035 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/1.272, allocations: 3.502 MB / 1.038 GB, free: 7.961 MB / 0.7481 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.01578/1.287, allocations: 12.09 MB / 1.05 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/1.292, allocations: 3.505 MB / 1.053 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/1.295, allocations: 1.818 MB / 1.055 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/1.296, allocations: 1.497 MB / 1.057 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.296, allocations: 68.75 kB / 1.057 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.087e-06/1.296, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.3447/1.641, allocations: 3.879 MB / 1.061 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.641, allocations: 84.59 kB / 1.061 GB, free: 292.6 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.644, allocations: 1.376 MB / 1.062 GB, free: 292.5 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005945/1.645, allocations: 77.7 kB / 1.062 GB, free: 292.4 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009389/1.646, allocations: 0.9833 MB / 1.063 GB, free: 292.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.647, allocations: 0.9446 MB / 1.064 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009863/1.648, allocations: 404.2 kB / 1.064 GB, free: 291.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/1.648, allocations: 306.6 kB / 1.065 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.651, allocations: 1.091 MB / 1.066 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/1.654, allocations: 1.359 MB / 1.067 GB, free: 290.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/1.661, allocations: 2.65 MB / 1.07 GB, free: 288.9 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.661, allocations: 3 kB / 1.07 GB, free: 288.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007019/1.668, allocations: 2.977 MB / 1.073 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.668, allocations: 6.844 kB / 1.073 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.668, allocations: 7.969 kB / 1.073 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.152e-05/1.668, allocations: 18.19 kB / 1.073 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/1.671, allocations: 0.5061 MB / 1.073 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.253e-05/1.671, allocations: 18.84 kB / 1.073 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/1.675, allocations: 384.9 kB / 1.073 GB, free: 287.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/1.676, allocations: 82.16 kB / 1.074 GB, free: 287.5 MB / 0.7637 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.001495/1.677, allocations: 0.6422 MB / 1.074 GB, free: 287.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000646/1.678, allocations: 234.4 kB / 1.074 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/1.685, allocations: 3.107 MB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/1.685, allocations: 29.36 kB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.685, allocations: 0 / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005864/1.691, allocations: 2.656 MB / 1.08 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.707, allocations: 6.223 MB / 1.086 GB, free: 282 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.707, allocations: 0 / 1.086 GB, free: 282 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/1.71, allocations: 0.5428 MB / 1.087 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/1.71, allocations: 8.438 kB / 1.087 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.71, allocations: 65.19 kB / 1.087 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/1.71, allocations: 15.36 kB / 1.087 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.71, allocations: 1.125 kB / 1.087 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/1.716, allocations: 4.572 MB / 1.091 GB, free: 280 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.717, allocations: 0.6132 MB / 1.092 GB, free: 279.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/1.718, allocations: 52.53 kB / 1.092 GB, free: 279.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.72, allocations: 224.9 kB / 1.092 GB, free: 279.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.72, allocations: 165.3 kB / 1.092 GB, free: 279.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.72, allocations: 81.58 kB / 1.092 GB, free: 279.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001127/1.721, allocations: 0.9431 MB / 1.093 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.721, allocations: 0 / 1.093 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001809/1.723, allocations: 0.9813 MB / 1.094 GB, free: 278.9 MB / 0.7637 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.005712/1.729, allocations: 5.396 MB / 1.099 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.739, allocations: 5.531 MB / 1.105 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.739, allocations: 11.75 kB / 1.105 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.741, allocations: 1.507 MB / 1.106 GB, free: 273.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/1.747, allocations: 1.355 MB / 1.108 GB, free: 272.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/1.775, allocations: 22.4 MB / 1.13 GB, free: 249.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/1.777, allocations: 1.895 MB / 1.131 GB, free: 247.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003201/1.78, allocations: 0.846 MB / 1.132 GB, free: 246.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/1.781, allocations: 1.089 MB / 1.133 GB, free: 245.3 MB / 0.7637 GB Notification: Performance of SimCode: time 7.41e-07/1.782, allocations: 0 / 1.133 GB, free: 245.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08623/1.868, allocations: 67.26 MB / 1.199 GB, free: 178.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.868, allocations: 222.2 kB / 1.199 GB, free: 178.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/5.654, allocations: 7.188 kB / 1.199 GB, free: 178.6 MB / 0.7637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)