Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_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.0008162/0.000816, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009051/0.0009051, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9248/0.9248, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 12.75 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1765, allocations: 82.32 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5895/0.7661, allocations: 269.6 MB / 0.8507 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4688/1.235, allocations: 15.95 MB / 0.8663 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/1.239, allocations: 67.28 kB / 0.8663 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004388/1.243, allocations: 1.235 MB / 0.8675 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01487/1.258, allocations: 4.68 MB / 0.8721 GB, free: 9.914 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008262/1.267, allocations: 2.025 MB / 0.8741 GB, free: 9.863 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01382/1.28, allocations: 9.349 MB / 0.8832 GB, free: 9.855 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/1.286, allocations: 1.934 MB / 0.8851 GB, free: 25.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009735/1.296, allocations: 2.398 MB / 0.8875 GB, free: 25.58 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007145/1.303, allocations: 2.619 MB / 0.89 GB, free: 25.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001656/1.305, allocations: 156 kB / 0.8902 GB, free: 25.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/1.319, allocations: 3.051 MB / 0.8931 GB, free: 25.51 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003641/1.323, allocations: 1.15 MB / 0.8943 GB, free: 25.51 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003741/1.326, allocations: 0.6671 MB / 0.8949 GB, free: 25.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/1.337, allocations: 4.528 MB / 0.8993 GB, free: 25.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.337, allocations: 3.25 kB / 0.8993 GB, free: 25.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.347e-06/1.337, allocations: 0.9688 kB / 0.8993 GB, free: 25.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002671/1.338, allocations: 0 / 0.8993 GB, free: 25.12 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.01644/1.354, allocations: 3.586 MB / 0.9028 GB, free: 23.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/1.354, allocations: 9.125 kB / 0.9028 GB, free: 23.53 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00196/1.356, allocations: 371.3 kB / 0.9032 GB, free: 23.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00818/1.364, allocations: 0.9142 MB / 0.9041 GB, free: 23.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/1.372, allocations: 1.78 MB / 0.9058 GB, free: 22.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/1.372, allocations: 195.7 kB / 0.906 GB, free: 22.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/1.374, allocations: 260.5 kB / 0.9063 GB, free: 22.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/1.386, allocations: 3.315 MB / 0.9095 GB, free: 22.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/1.386, allocations: 5.281 kB / 0.9095 GB, free: 22.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009193/1.387, allocations: 105 kB / 0.9096 GB, free: 22.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/1.387, allocations: 140.1 kB / 0.9097 GB, free: 22.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009174/1.396, allocations: 3.471 MB / 0.9131 GB, free: 22.49 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.02475/1.421, allocations: 12.09 MB / 0.9249 GB, free: 16.08 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/1.427, allocations: 3.466 MB / 0.9283 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/1.43, allocations: 1.788 MB / 0.9301 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/1.432, allocations: 1.504 MB / 0.9315 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/1.432, allocations: 62.69 kB / 0.9316 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 5.48e-06/1.432, allocations: 0 / 0.9316 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.009331/1.441, allocations: 3.851 MB / 0.9354 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.441, allocations: 85.42 kB / 0.9354 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/1.445, allocations: 1.369 MB / 0.9368 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.446, allocations: 77.55 kB / 0.9369 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/1.446, allocations: 0.9843 MB / 0.9378 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.448, allocations: 0.9381 MB / 0.9387 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/1.448, allocations: 48.78 kB / 0.9388 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0003015/1.449, allocations: 406.1 kB / 0.9392 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/1.451, allocations: 1.079 MB / 0.9402 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/1.453, allocations: 1.368 MB / 0.9416 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/1.456, allocations: 1.281 MB / 0.9428 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/1.456, allocations: 2.656 kB / 0.9428 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00581/1.461, allocations: 2.949 MB / 0.9457 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.461, allocations: 5.031 kB / 0.9457 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.461, allocations: 9.578 kB / 0.9457 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/1.462, allocations: 16.19 kB / 0.9457 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/1.464, allocations: 0.508 MB / 0.9462 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.589e-05/1.464, allocations: 23.84 kB / 0.9462 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.467, allocations: 335 kB / 0.9466 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.468, allocations: 92.5 kB / 0.9466 GB, free: 9.094 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001771/1.469, allocations: 0.6399 MB / 0.9473 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009539/1.47, allocations: 228.4 kB / 0.9475 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005889/1.476, allocations: 3.097 MB / 0.9505 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.476, allocations: 25.66 kB / 0.9505 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.476, allocations: 2.156 kB / 0.9505 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003893/1.48, allocations: 2.637 MB / 0.9531 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.492, allocations: 6.185 MB / 0.9592 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.492, allocations: 3.953 kB / 0.9592 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.495, allocations: 0.5456 MB / 0.9597 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.016e-05/1.495, allocations: 8 kB / 0.9597 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.495, allocations: 63.36 kB / 0.9598 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.388e-05/1.495, allocations: 12 kB / 0.9598 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.495, allocations: 2.531 kB / 0.9598 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007659/1.503, allocations: 4.773 MB / 0.9644 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.505, allocations: 0.6158 MB / 0.965 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008404/1.506, allocations: 48.81 kB / 0.9651 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.508, allocations: 230.8 kB / 0.9653 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/1.509, allocations: 164.2 kB / 0.9655 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/1.509, allocations: 81.84 kB / 0.9655 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00187/1.511, allocations: 0.9352 MB / 0.9664 GB, free: 312 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.511, allocations: 5.516 kB / 0.9665 GB, free: 312 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00413/1.515, allocations: 0.9813 MB / 0.9674 GB, free: 15.4 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (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.008959/1.524, allocations: 5.603 MB / 0.9729 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004778/1.529, allocations: 2.75 MB / 0.9756 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.529, allocations: 0 / 0.9756 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.531, allocations: 1.503 MB / 0.977 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007619/1.539, allocations: 1.296 MB / 0.9783 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03658/1.576, allocations: 17.44 MB / 0.9953 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002424/1.578, allocations: 1.894 MB / 0.9972 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004403/1.582, allocations: 0.8305 MB / 0.998 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.585, allocations: 1.09 MB / 0.9991 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of SimCode: time 1.874e-06/1.585, allocations: 0 / 0.9991 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.696, allocations: 67.9 MB / 1.065 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.696, allocations: 183.1 kB / 1.066 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/5.177, allocations: 0 / 1.066 GB, free: 2.117 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: