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.005666/0.005666, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.00118/0.00118, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9596/0.9596, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4101, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7011/1.111, allocations: 295.1 MB / 0.9523 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02045/1.132, allocations: 16.97 MB / 0.9689 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/1.136, allocations: 83.69 kB / 0.969 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004875/1.14, allocations: 1.98 MB / 0.9709 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0174/1.158, allocations: 6.615 MB / 0.9774 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007923/1.166, allocations: 2.983 MB / 0.9803 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01026/1.176, allocations: 7.709 MB / 0.9878 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004212/1.18, allocations: 2.604 MB / 0.9904 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006202/1.187, allocations: 2.868 MB / 0.9932 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/1.192, allocations: 2.695 MB / 0.9958 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008663/1.193, allocations: 332.2 kB / 0.9961 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.206, allocations: 6.191 MB / 1.002 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00222/1.209, allocations: 1.341 MB / 1.003 GB, free: 408 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004958/1.214, allocations: 1.881 MB / 1.005 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01679/1.23, allocations: 6.916 MB / 1.012 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.231, allocations: 0 / 1.012 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/1.231, allocations: 0 / 1.012 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001864/1.231, allocations: 0 / 1.012 GB, free: 8.027 MB / 0.7169 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.01218/1.243, allocations: 4.232 MB / 1.016 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.243, allocations: 12.03 kB / 1.016 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004923/1.243, allocations: 373.4 kB / 1.017 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/1.25, allocations: 0.9232 MB / 1.017 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/1.254, allocations: 1.939 MB / 1.019 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.254, allocations: 192.1 kB / 1.02 GB, free: 396 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/1.255, allocations: 262.3 kB / 1.02 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/1.261, allocations: 3.327 MB / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/1.261, allocations: 7.281 kB / 1.023 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/1.261, allocations: 110.2 kB / 1.023 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/1.261, allocations: 141 kB / 1.023 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/1.268, allocations: 3.486 MB / 1.027 GB, free: 8.988 MB / 0.7325 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.01649/1.284, allocations: 12.16 MB / 1.039 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/1.288, allocations: 3.49 MB / 1.042 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/1.291, allocations: 1.848 MB / 1.044 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/1.293, allocations: 1.49 MB / 1.045 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/1.293, allocations: 68.73 kB / 1.045 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 4.027e-06/1.293, allocations: 0 / 1.045 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.006677/1.3, allocations: 3.885 MB / 1.049 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.3, allocations: 81.59 kB / 1.049 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/1.302, allocations: 1.38 MB / 1.051 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/1.302, allocations: 77.7 kB / 1.051 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/1.303, allocations: 1.001 MB / 1.052 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008752/1.304, allocations: 0.9893 MB / 1.053 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006164/1.304, allocations: 416.9 kB / 1.053 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/1.304, allocations: 305.1 kB / 1.053 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.306, allocations: 1.086 MB / 1.054 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/1.308, allocations: 1.377 MB / 1.056 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/1.312, allocations: 2.654 MB / 1.058 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.312, allocations: 0 / 1.058 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005003/1.317, allocations: 2.977 MB / 1.061 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.317, allocations: 8 kB / 1.061 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.317, allocations: 8 kB / 1.061 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/1.317, allocations: 12.56 kB / 1.061 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/1.319, allocations: 0.5134 MB / 1.062 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.223e-05/1.319, allocations: 23.08 kB / 1.062 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.322, allocations: 194.5 kB / 1.062 GB, free: 3.699 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.322, allocations: 80 kB / 1.062 GB, free: 3.621 MB / 0.7637 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.001188/1.323, allocations: 0.649 MB / 1.063 GB, free: 2.992 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/1.324, allocations: 246.5 kB / 1.063 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/1.329, allocations: 3.1 MB / 1.066 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/1.329, allocations: 28 kB / 1.066 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.329, allocations: 0 / 1.066 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003938/1.333, allocations: 2.645 MB / 1.068 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.343, allocations: 6.195 MB / 1.075 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/1.343, allocations: 0 / 1.075 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.346, allocations: 0.5626 MB / 1.075 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/1.346, allocations: 11.94 kB / 1.075 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/1.346, allocations: 59.98 kB / 1.075 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/1.346, allocations: 8 kB / 1.075 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.346, allocations: 3.938 kB / 1.075 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007211/1.354, allocations: 4.82 MB / 1.08 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.355, allocations: 0.616 MB / 1.08 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/1.355, allocations: 55.09 kB / 1.08 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.357, allocations: 69.36 kB / 1.081 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/1.358, allocations: 165.9 kB / 1.081 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.358, allocations: 83.97 kB / 1.081 GB, free: 108 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001272/1.359, allocations: 0.9423 MB / 1.082 GB, free: 15.17 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/1.359, allocations: 0 / 1.082 GB, free: 15.17 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002001/1.361, allocations: 0.9906 MB / 1.083 GB, free: 14.18 MB / 0.795 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.007575/1.369, allocations: 5.63 MB / 1.088 GB, free: 8.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004355/1.373, allocations: 2.772 MB / 1.091 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.373, allocations: 4.25 kB / 1.091 GB, free: 5.734 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.375, allocations: 1.515 MB / 1.092 GB, free: 4.266 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005976/1.381, allocations: 1.35 MB / 1.094 GB, free: 2.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/1.41, allocations: 19.47 MB / 1.113 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/1.411, allocations: 1.895 MB / 1.115 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002888/1.414, allocations: 0.8358 MB / 1.115 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.416, allocations: 1.093 MB / 1.116 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/1.416, allocations: 0 / 1.116 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.525, allocations: 68.39 MB / 1.183 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.53, allocations: 12.58 kB / 1.183 GB, free: 7.621 MB / 0.8887 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)