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.0009881/0.0009884, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008323/0.008323, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003078, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 82.3 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.887/1.03, allocations: 288.9 MB / 0.8702 GB, free: 1.977 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02039/1.05, allocations: 17.03 MB / 0.8868 GB, free: 1.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/1.054, allocations: 68.78 kB / 0.8869 GB, free: 1.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004226/1.058, allocations: 1.643 MB / 0.8885 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01417/1.072, allocations: 6.072 MB / 0.8944 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006867/1.079, allocations: 2.675 MB / 0.897 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01335/1.093, allocations: 11.19 MB / 0.908 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004373/1.097, allocations: 2.136 MB / 0.91 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/1.103, allocations: 2.346 MB / 0.9123 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006558/1.109, allocations: 2.726 MB / 0.915 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00106/1.11, allocations: 159.8 kB / 0.9152 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/1.125, allocations: 7.149 MB / 0.9221 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/1.127, allocations: 1.163 MB / 0.9233 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004139/1.131, allocations: 1.7 MB / 0.9249 GB, free: 16.99 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.142, allocations: 7.079 MB / 0.9318 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.142, allocations: 0 / 0.9318 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/1.142, allocations: 0 / 0.9318 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.548e-05/1.142, allocations: 0 / 0.9318 GB, free: 15.32 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.008997/1.151, allocations: 3.559 MB / 0.9353 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.151, allocations: 7.625 kB / 0.9353 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/1.151, allocations: 373.4 kB / 0.9357 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/1.157, allocations: 0.9147 MB / 0.9366 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/1.16, allocations: 1.843 MB / 0.9384 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.16, allocations: 198.3 kB / 0.9386 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/1.161, allocations: 262 kB / 0.9388 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005331/1.166, allocations: 3.336 MB / 0.9421 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/1.166, allocations: 3.375 kB / 0.9421 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/1.166, allocations: 102.8 kB / 0.9422 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.166, allocations: 142.4 kB / 0.9423 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005299/1.172, allocations: 3.486 MB / 0.9457 GB, free: 10.29 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.01324/1.185, allocations: 12.08 MB / 0.9575 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/1.189, allocations: 3.484 MB / 0.9609 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/1.191, allocations: 1.8 MB / 0.9627 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.193, allocations: 1.505 MB / 0.9641 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/1.193, allocations: 65.12 kB / 0.9642 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 4.449e-06/1.193, allocations: 0 / 0.9642 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.005928/1.199, allocations: 3.882 MB / 0.968 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.199, allocations: 81.59 kB / 0.9681 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.201, allocations: 1.378 MB / 0.9694 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/1.201, allocations: 76.95 kB / 0.9695 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/1.201, allocations: 0.9841 MB / 0.9705 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007629/1.202, allocations: 0.9447 MB / 0.9714 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/1.202, allocations: 199.9 kB / 0.9716 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/1.202, allocations: 305.1 kB / 0.9719 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/1.204, allocations: 1.09 MB / 0.9729 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/1.206, allocations: 1.377 MB / 0.9743 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/1.21, allocations: 2.65 MB / 0.9769 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.21, allocations: 4 kB / 0.9769 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005069/1.215, allocations: 2.96 MB / 0.9798 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.215, allocations: 8 kB / 0.9798 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.215, allocations: 4 kB / 0.9798 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/1.215, allocations: 16 kB / 0.9798 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.217, allocations: 0.5128 MB / 0.9803 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/1.217, allocations: 18.86 kB / 0.9803 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.22, allocations: 340.5 kB / 0.9806 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.22, allocations: 87.92 kB / 0.9807 GB, free: 3.875 MB / 0.7012 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.001291/1.221, allocations: 0.6446 MB / 0.9813 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/1.222, allocations: 229.3 kB / 0.9816 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/1.227, allocations: 3.108 MB / 0.9846 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.227, allocations: 24 kB / 0.9846 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.227, allocations: 0 / 0.9846 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/1.231, allocations: 2.645 MB / 0.9872 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009849/1.241, allocations: 6.199 MB / 0.9932 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.241, allocations: 4 kB / 0.9933 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.243, allocations: 0.5443 MB / 0.9938 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/1.243, allocations: 15.94 kB / 0.9938 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/1.244, allocations: 59.98 kB / 0.9939 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/1.244, allocations: 15.98 kB / 0.9939 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.244, allocations: 0 / 0.9939 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/1.251, allocations: 4.805 MB / 0.9986 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.252, allocations: 0.6071 MB / 0.9992 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/1.252, allocations: 55.92 kB / 0.9992 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.254, allocations: 221 kB / 0.9994 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.255, allocations: 165.9 kB / 0.9996 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.255, allocations: 87.97 kB / 0.9997 GB, free: 260 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001467/1.256, allocations: 0.9408 MB / 1.001 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 4 kB / 1.001 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002226/1.259, allocations: 0.9823 MB / 1.002 GB, free: 14.33 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.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 (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.00794/1.266, allocations: 5.632 MB / 1.007 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004525/1.271, allocations: 2.769 MB / 1.01 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.271, allocations: 0 / 1.01 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/1.273, allocations: 1.51 MB / 1.011 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006405/1.28, allocations: 1.295 MB / 1.012 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03626/1.316, allocations: 22.62 MB / 1.035 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/1.318, allocations: 1.903 MB / 1.036 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003272/1.321, allocations: 0.8358 MB / 1.037 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/1.323, allocations: 1.091 MB / 1.038 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of SimCode: time 1.082e-06/1.323, allocations: 4 kB / 1.038 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09288/1.416, allocations: 64.88 MB / 1.102 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/1.416, allocations: 208.1 kB / 1.102 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.741/5.157, allocations: 0 / 1.102 GB, free: 7.16 MB / 0.8262 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/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)