Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_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.0008397/0.0008398, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00452/0.00452, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.167/1.167, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7146/0.7146, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 9.328 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3431, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5475/0.8906, allocations: 288.9 MB / 0.8659 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.9083, allocations: 17.03 MB / 0.8825 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.9106, allocations: 66.72 kB / 0.8826 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.9143, allocations: 1.648 MB / 0.8842 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.9259, allocations: 6.066 MB / 0.8901 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00577/0.9317, allocations: 2.674 MB / 0.8927 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009189/0.9409, allocations: 11.2 MB / 0.9037 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.9434, allocations: 2.131 MB / 0.9057 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.9468, allocations: 2.35 MB / 0.908 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003688/0.9505, allocations: 2.729 MB / 0.9107 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.9508, allocations: 155.8 kB / 0.9109 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.9618, allocations: 7.151 MB / 0.9178 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.9629, allocations: 1.154 MB / 0.919 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.9647, allocations: 1.704 MB / 0.9206 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008948/0.9737, allocations: 7.082 MB / 0.9275 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9737, allocations: 0 / 0.9275 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9737, allocations: 0 / 0.9275 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.9737, allocations: 0 / 0.9275 GB, free: 10.34 MB / 0.6544 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.007879/0.9816, allocations: 3.558 MB / 0.931 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9817, allocations: 8.031 kB / 0.931 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004153/0.9821, allocations: 363.7 kB / 0.9314 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.9877, allocations: 0.92 MB / 0.9323 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.9903, allocations: 1.844 MB / 0.9341 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.9904, allocations: 205.1 kB / 0.9343 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.9908, allocations: 265.7 kB / 0.9345 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.9955, allocations: 3.325 MB / 0.9378 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.523e-05/0.9956, allocations: 4 kB / 0.9378 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.9958, allocations: 108.5 kB / 0.9379 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.996, allocations: 136.7 kB / 0.938 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/1.001, allocations: 3.491 MB / 0.9414 GB, free: 15.88 MB / 0.67 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.01277/1.014, allocations: 12.09 MB / 0.9532 GB, free: 3.133 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/1.018, allocations: 3.483 MB / 0.9566 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/1.021, allocations: 1.799 MB / 0.9584 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/1.022, allocations: 1.499 MB / 0.9598 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.022, allocations: 65.5 kB / 0.9599 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 3.897e-06/1.022, allocations: 0 / 0.9599 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.006056/1.028, allocations: 3.88 MB / 0.9637 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.028, allocations: 81.59 kB / 0.9638 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/1.03, allocations: 1.379 MB / 0.9651 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/1.03, allocations: 77.7 kB / 0.9652 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/1.031, allocations: 0.9766 MB / 0.9661 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007003/1.031, allocations: 0.9541 MB / 0.9671 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.032, allocations: 198.6 kB / 0.9673 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/1.032, allocations: 309.1 kB / 0.9676 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.033, allocations: 1.093 MB / 0.9686 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/1.035, allocations: 1.378 MB / 0.97 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/1.039, allocations: 2.64 MB / 0.9726 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.039, allocations: 4 kB / 0.9726 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004465/1.044, allocations: 2.962 MB / 0.9754 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.044, allocations: 8 kB / 0.9755 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.044, allocations: 4 kB / 0.9755 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.044, allocations: 16 kB / 0.9755 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.046, allocations: 0.5133 MB / 0.976 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/1.046, allocations: 18.33 kB / 0.976 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.048, allocations: 329.8 kB / 0.9763 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.048, allocations: 91.92 kB / 0.9764 GB, free: 10.78 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.001051/1.049, allocations: 0.6426 MB / 0.977 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/1.05, allocations: 229.3 kB / 0.9772 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/1.055, allocations: 3.108 MB / 0.9803 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.055, allocations: 30.61 kB / 0.9803 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.055, allocations: 0 / 0.9803 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003711/1.058, allocations: 2.649 MB / 0.9829 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008745/1.067, allocations: 6.205 MB / 0.989 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.067, allocations: 0 / 0.989 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.07, allocations: 0.5479 MB / 0.9895 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/1.07, allocations: 15.94 kB / 0.9895 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.07, allocations: 59.98 kB / 0.9896 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/1.07, allocations: 8 kB / 0.9896 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.07, allocations: 0 / 0.9896 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/1.076, allocations: 4.802 MB / 0.9943 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.077, allocations: 0.611 MB / 0.9949 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/1.078, allocations: 51.94 kB / 0.9949 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.08, allocations: 229 kB / 0.9951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.08, allocations: 165.9 kB / 0.9953 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.08, allocations: 83.97 kB / 0.9954 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001176/1.081, allocations: 0.9423 MB / 0.9963 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.081, allocations: 3.938 kB / 0.9963 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001848/1.083, allocations: 0.9784 MB / 0.9972 GB, free: 5.223 MB / 0.7169 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.007153/1.09, allocations: 5.642 MB / 1.003 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003962/1.094, allocations: 2.764 MB / 1.005 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.094, allocations: 2.625 kB / 1.005 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.096, allocations: 1.51 MB / 1.007 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005563/1.102, allocations: 1.293 MB / 1.008 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02972/1.131, allocations: 22.62 MB / 1.03 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.133, allocations: 1.903 MB / 1.032 GB, free: 276 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002995/1.136, allocations: 0.8358 MB / 1.033 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/1.138, allocations: 1.089 MB / 1.034 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of SimCode: time 1.102e-06/1.138, allocations: 0 / 1.034 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7366/1.874, allocations: 64.86 MB / 1.097 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.874, allocations: 204.4 kB / 1.098 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/5.231, allocations: 4 kB / 1.098 GB, free: 14.05 MB / 0.8262 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)