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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.00136, allocations: 194.9 kB / 16.14 MB, free: 6.66 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 291.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 93.98 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1302, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5161/0.6463, allocations: 292.9 MB / 0.9656 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.6676, allocations: 17.23 MB / 0.9824 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.6704, allocations: 67.62 kB / 0.9825 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.6743, allocations: 1.648 MB / 0.9841 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.687, allocations: 6.077 MB / 0.9901 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005934/0.693, allocations: 2.664 MB / 0.9927 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.7032, allocations: 11.2 MB / 1.004 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.7059, allocations: 2.208 MB / 1.006 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.7095, allocations: 2.416 MB / 1.008 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/0.7136, allocations: 2.814 MB / 1.011 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.714, allocations: 184 kB / 1.011 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.7254, allocations: 7.173 MB / 1.018 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.7268, allocations: 1.207 MB / 1.019 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.7291, allocations: 1.73 MB / 1.021 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.7393, allocations: 7.171 MB / 1.028 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7393, allocations: 0 / 1.028 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7393, allocations: 0 / 1.028 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.908e-05/0.7394, allocations: 0 / 1.028 GB, free: 2.699 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.00896/0.7484, allocations: 4.124 MB / 1.032 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7484, allocations: 16.03 kB / 1.032 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00041/0.7488, allocations: 374.9 kB / 1.032 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005802/0.7546, allocations: 0.9133 MB / 1.033 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.7573, allocations: 1.846 MB / 1.035 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.7574, allocations: 193.1 kB / 1.035 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.7578, allocations: 256 kB / 1.035 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.7627, allocations: 3.329 MB / 1.039 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.7627, allocations: 19.83 kB / 1.039 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.763, allocations: 111.9 kB / 1.039 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.7631, allocations: 137 kB / 1.039 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005291/0.7684, allocations: 3.502 MB / 1.042 GB, free: 3.645 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.01264/0.7811, allocations: 12.09 MB / 1.054 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/0.7854, allocations: 3.503 MB / 1.058 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.7879, allocations: 1.822 MB / 1.059 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2278/1.016, allocations: 1.487 MB / 1.061 GB, free: 293.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/1.016, allocations: 63.31 kB / 1.061 GB, free: 293.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.639e-06/1.016, allocations: 0 / 1.061 GB, free: 293.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.008926/1.025, allocations: 3.88 MB / 1.065 GB, free: 292.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/1.025, allocations: 83.86 kB / 1.065 GB, free: 292.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/1.027, allocations: 1.379 MB / 1.066 GB, free: 292 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/1.028, allocations: 76.8 kB / 1.066 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006726/1.028, allocations: 0.9798 MB / 1.067 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008118/1.029, allocations: 0.9539 MB / 1.068 GB, free: 290.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008755/1.03, allocations: 402.3 kB / 1.068 GB, free: 290.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/1.03, allocations: 305.1 kB / 1.069 GB, free: 290.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.033, allocations: 1.093 MB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/1.035, allocations: 1.365 MB / 1.071 GB, free: 289.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/1.041, allocations: 2.642 MB / 1.074 GB, free: 287.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.041, allocations: 2.344 kB / 1.074 GB, free: 287.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005385/1.046, allocations: 2.973 MB / 1.077 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.046, allocations: 10.97 kB / 1.077 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.046, allocations: 6.297 kB / 1.077 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/1.046, allocations: 17.78 kB / 1.077 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.048, allocations: 0.5046 MB / 1.077 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.691e-05/1.048, allocations: 20.69 kB / 1.077 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/1.051, allocations: 382 kB / 1.078 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.051, allocations: 85.59 kB / 1.078 GB, free: 286.4 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.0009577/1.052, allocations: 0.6452 MB / 1.078 GB, free: 286 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/1.052, allocations: 232 kB / 1.078 GB, free: 285.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/1.057, allocations: 3.109 MB / 1.081 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/1.057, allocations: 27.03 kB / 1.082 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.057, allocations: 3.719 kB / 1.082 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003816/1.061, allocations: 2.659 MB / 1.084 GB, free: 283.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008634/1.07, allocations: 6.224 MB / 1.09 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.07, allocations: 0 / 1.09 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.072, allocations: 0.5397 MB / 1.091 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.342e-05/1.072, allocations: 9.625 kB / 1.091 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/1.072, allocations: 61.47 kB / 1.091 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/1.072, allocations: 9.625 kB / 1.091 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.072, allocations: 7.625 kB / 1.091 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/1.078, allocations: 4.57 MB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009216/1.079, allocations: 0.614 MB / 1.096 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/1.079, allocations: 51.62 kB / 1.096 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.081, allocations: 226.2 kB / 1.096 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/1.081, allocations: 166.2 kB / 1.096 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.081, allocations: 89.39 kB / 1.096 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009152/1.082, allocations: 0.9421 MB / 1.097 GB, free: 278 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.082, allocations: 1.125 kB / 1.097 GB, free: 278 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00156/1.084, allocations: 0.9834 MB / 1.098 GB, free: 277.8 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.005644/1.089, allocations: 5.379 MB / 1.104 GB, free: 275 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003108/1.092, allocations: 2.766 MB / 1.106 GB, free: 273.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.092, allocations: 3.938 kB / 1.106 GB, free: 273.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.094, allocations: 1.507 MB / 1.108 GB, free: 272.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/1.099, allocations: 1.297 MB / 1.109 GB, free: 270.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/1.122, allocations: 22.39 MB / 1.131 GB, free: 247.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/1.123, allocations: 1.891 MB / 1.133 GB, free: 245.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00237/1.125, allocations: 0.8505 MB / 1.134 GB, free: 244.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.126, allocations: 1.089 MB / 1.135 GB, free: 243.7 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/1.126, allocations: 0 / 1.135 GB, free: 243.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3602/1.487, allocations: 65.32 MB / 1.198 GB, free: 179.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.487, allocations: 222.2 kB / 1.199 GB, free: 179 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/4.962, allocations: 0 / 1.199 GB, free: 179 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)