Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00114/0.00114, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001134/0.001134, allocations: 197.6 kB / 16.26 MB, free: 6.621 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.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8333/0.8333, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 59.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1236, allocations: 82.03 MB / 0.5939 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.719/0.8426, allocations: 291.9 MB / 0.879 GB, free: 1.484 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.8597, allocations: 16.97 MB / 0.8956 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.862, allocations: 70.44 kB / 0.8956 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.8654, allocations: 1.699 MB / 0.8973 GB, free: 1.375 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.8774, allocations: 6.058 MB / 0.9032 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006013/0.8834, allocations: 2.71 MB / 0.9059 GB, free: 1.051 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008421/0.8918, allocations: 7.704 MB / 0.9134 GB, free: 1.043 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.8948, allocations: 2.545 MB / 0.9159 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004506/0.8994, allocations: 2.814 MB / 0.9186 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.9033, allocations: 2.872 MB / 0.9214 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.9037, allocations: 331.8 kB / 0.9217 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.914, allocations: 6.43 MB / 0.928 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.9157, allocations: 1.345 MB / 0.9293 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.918, allocations: 1.882 MB / 0.9312 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.9291, allocations: 7.495 MB / 0.9385 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9291, allocations: 4 kB / 0.9385 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9291, allocations: 0 / 0.9385 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.703e-05/0.9291, allocations: 0 / 0.9385 GB, free: 14.9 MB / 0.6856 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.008397/0.9375, allocations: 4.131 MB / 0.9425 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.9376, allocations: 10.31 kB / 0.9425 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003872/0.938, allocations: 379.5 kB / 0.9429 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/0.9436, allocations: 0.9125 MB / 0.9438 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.946, allocations: 1.847 MB / 0.9456 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-05/0.9461, allocations: 196.7 kB / 0.9458 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.9464, allocations: 259.8 kB / 0.946 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/0.9509, allocations: 3.331 MB / 0.9493 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.951, allocations: 2.5 kB / 0.9493 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.9512, allocations: 109.3 kB / 0.9494 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.9513, allocations: 138.3 kB / 0.9495 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/0.956, allocations: 3.501 MB / 0.9529 GB, free: 9.762 MB / 0.6856 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.01217/0.9682, allocations: 12.1 MB / 0.9647 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.9724, allocations: 3.52 MB / 0.9682 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.9748, allocations: 1.82 MB / 0.97 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.9762, allocations: 1.49 MB / 0.9714 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.9763, allocations: 71.22 kB / 0.9715 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 4.268e-06/0.9763, allocations: 0 / 0.9715 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.006263/0.9826, allocations: 3.873 MB / 0.9753 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.9827, allocations: 88.11 kB / 0.9754 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.9844, allocations: 1.376 MB / 0.9767 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.9846, allocations: 77.7 kB / 0.9768 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.9852, allocations: 0.9822 MB / 0.9777 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007335/0.986, allocations: 0.9434 MB / 0.9787 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005851/0.9866, allocations: 404.9 kB / 0.979 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.9867, allocations: 305.1 kB / 0.9793 GB, free: 200 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.9883, allocations: 1.09 MB / 0.9804 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.9901, allocations: 1.363 MB / 0.9817 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/0.9938, allocations: 2.652 MB / 0.9843 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9939, allocations: 0 / 0.9843 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004427/0.9983, allocations: 2.984 MB / 0.9872 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9983, allocations: 4 kB / 0.9872 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.9983, allocations: 4 kB / 0.9872 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.9984, allocations: 16 kB / 0.9873 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1, allocations: 0.5062 MB / 0.9877 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/1.001, allocations: 22.61 kB / 0.9878 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.003, allocations: 381.7 kB / 0.9881 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/1.003, allocations: 80 kB / 0.9882 GB, free: 6.973 MB / 0.7169 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.001003/1.004, allocations: 0.6407 MB / 0.9888 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/1.004, allocations: 233.2 kB / 0.9891 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/1.009, allocations: 3.119 MB / 0.9921 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.009, allocations: 28 kB / 0.9921 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.009, allocations: 0 / 0.9921 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003597/1.013, allocations: 2.66 MB / 0.9947 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008531/1.021, allocations: 6.23 MB / 1.001 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.021, allocations: 4 kB / 1.001 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.024, allocations: 0.5348 MB / 1.001 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/1.024, allocations: 15.94 kB / 1.001 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.024, allocations: 64.47 kB / 1.001 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/1.024, allocations: 8.938 kB / 1.001 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.024, allocations: 4 kB / 1.001 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005995/1.03, allocations: 4.573 MB / 1.006 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.031, allocations: 0.6158 MB / 1.006 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/1.031, allocations: 52 kB / 1.007 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.033, allocations: 227.4 kB / 1.007 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/1.033, allocations: 162 kB / 1.007 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.034, allocations: 84.84 kB / 1.007 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001095/1.035, allocations: 0.9423 MB / 1.008 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.035, allocations: 0 / 1.008 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001776/1.037, allocations: 0.9823 MB / 1.009 GB, free: 1.609 MB / 0.7325 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.006688/1.043, allocations: 5.396 MB / 1.014 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.054, allocations: 5.525 MB / 1.02 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.054, allocations: 8.375 kB / 1.02 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/1.056, allocations: 1.51 MB / 1.021 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005107/1.061, allocations: 1.351 MB / 1.022 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/1.09, allocations: 22.42 MB / 1.044 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.092, allocations: 1.903 MB / 1.046 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0027/1.094, allocations: 0.8435 MB / 1.047 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.096, allocations: 1.089 MB / 1.048 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of SimCode: time 1.162e-06/1.096, allocations: 7.938 kB / 1.048 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/1.245, allocations: 67.41 MB / 1.114 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.246, allocations: 218.7 kB / 1.114 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.653/4.898, allocations: 8 kB / 1.114 GB, free: 5.656 MB / 0.8419 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)