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.0009474/0.0009474, 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.0009363/0.0009362, allocations: 194.8 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8121/0.8121, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 64.47 kB / 0.5048 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 80.92 MB / 0.5838 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6821/0.8, allocations: 292.9 MB / 0.8699 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.8165, allocations: 17.2 MB / 0.8866 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.8186, allocations: 70.03 kB / 0.8867 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.8216, allocations: 1.659 MB / 0.8883 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.8315, allocations: 6.066 MB / 0.8943 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005093/0.8366, allocations: 2.665 MB / 0.8969 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.8469, allocations: 11.2 MB / 0.9078 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.8497, allocations: 2.217 MB / 0.91 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.8538, allocations: 2.427 MB / 0.9123 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003846/0.8577, allocations: 2.801 MB / 0.9151 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003649/0.8581, allocations: 183.8 kB / 0.9152 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.8683, allocations: 7.177 MB / 0.9222 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009961/0.8693, allocations: 1.199 MB / 0.9234 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.8709, allocations: 1.734 MB / 0.9251 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.8788, allocations: 7.176 MB / 0.9321 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8788, allocations: 0 / 0.9321 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8788, allocations: 0 / 0.9321 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.613e-05/0.8789, allocations: 0 / 0.9321 GB, free: 14.79 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.007999/0.8869, allocations: 4.125 MB / 0.9361 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.8869, allocations: 8.031 kB / 0.9362 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003673/0.8873, allocations: 380.4 kB / 0.9365 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/0.8926, allocations: 0.9165 MB / 0.9374 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.8949, allocations: 1.84 MB / 0.9392 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/0.895, allocations: 196.1 kB / 0.9394 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.8953, allocations: 260 kB / 0.9396 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.8995, allocations: 3.332 MB / 0.9429 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.8996, allocations: 7.172 kB / 0.9429 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.8998, allocations: 107.2 kB / 0.943 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.8999, allocations: 141.2 kB / 0.9431 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/0.9044, allocations: 3.486 MB / 0.9465 GB, free: 9.656 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.01129/0.9157, allocations: 12.06 MB / 0.9583 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.9195, allocations: 3.498 MB / 0.9617 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.922, allocations: 1.812 MB / 0.9635 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.9233, allocations: 1.489 MB / 0.965 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.9233, allocations: 73.81 kB / 0.965 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 3.597e-06/0.9234, allocations: 0 / 0.965 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.005531/0.9289, allocations: 3.878 MB / 0.9688 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.9289, allocations: 81.59 kB / 0.9689 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.9304, allocations: 1.376 MB / 0.9702 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.9306, allocations: 77.7 kB / 0.9703 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/0.9312, allocations: 0.992 MB / 0.9713 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006385/0.9318, allocations: 0.9413 MB / 0.9722 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005607/0.9324, allocations: 407.5 kB / 0.9726 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.9325, allocations: 301.1 kB / 0.9729 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.9341, allocations: 1.094 MB / 0.9739 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.9358, allocations: 1.381 MB / 0.9753 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/0.9394, allocations: 2.64 MB / 0.9779 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.9394, allocations: 4 kB / 0.9779 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004115/0.9435, allocations: 2.968 MB / 0.9808 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9435, allocations: 8 kB / 0.9808 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9435, allocations: 4.047 kB / 0.9808 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.9436, allocations: 19.98 kB / 0.9808 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.9455, allocations: 0.5066 MB / 0.9813 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.9456, allocations: 26.56 kB / 0.9813 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.9477, allocations: 335.3 kB / 0.9816 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.9479, allocations: 80 kB / 0.9817 GB, free: 11.57 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.0008485/0.9487, allocations: 0.6446 MB / 0.9824 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.9491, allocations: 229.3 kB / 0.9826 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.9535, allocations: 3.103 MB / 0.9856 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.9535, allocations: 31.98 kB / 0.9856 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9535, allocations: 3.938 kB / 0.9856 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003489/0.957, allocations: 2.648 MB / 0.9882 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008041/0.9651, allocations: 6.199 MB / 0.9943 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.9651, allocations: 3.938 kB / 0.9943 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/0.9674, allocations: 0.552 MB / 0.9948 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.9674, allocations: 11.94 kB / 0.9948 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.9676, allocations: 66.52 kB / 0.9949 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.9676, allocations: 11.94 kB / 0.9949 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9676, allocations: 0 / 0.9949 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.9737, allocations: 4.799 MB / 0.9996 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.9746, allocations: 0.6148 MB / 1 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.9749, allocations: 52 kB / 1 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.9766, allocations: 222.8 kB / 1 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.9769, allocations: 164.5 kB / 1.001 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.977, allocations: 79.97 kB / 1.001 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001055/0.9781, allocations: 0.9462 MB / 1.002 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9781, allocations: 0 / 1.002 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00165/0.9797, allocations: 0.9823 MB / 1.003 GB, free: 6.02 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.006706/0.9864, allocations: 5.629 MB / 1.008 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003528/0.99, allocations: 2.769 MB / 1.011 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.99, allocations: 0 / 1.011 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.9921, allocations: 1.51 MB / 1.012 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/0.9967, allocations: 1.292 MB / 1.014 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.024, allocations: 22.34 MB / 1.035 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.025, allocations: 1.891 MB / 1.037 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002537/1.028, allocations: 0.8397 MB / 1.038 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.029, allocations: 1.106 MB / 1.039 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/1.029, allocations: 4 kB / 1.039 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8953/1.925, allocations: 65.42 MB / 1.103 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.925, allocations: 193.8 kB / 1.103 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/5.499, allocations: 2.531 kB / 1.103 GB, free: 14.62 MB / 0.8419 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)