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.001746/0.001746, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.405/2.405, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.643/1.643, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 63.83 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.277, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.527/1.804, allocations: 295.1 MB / 0.8726 GB, free: 1.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03845/1.842, allocations: 16.99 MB / 0.8892 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005602/1.848, allocations: 81.38 kB / 0.8893 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007867/1.856, allocations: 1.893 MB / 0.8911 GB, free: 1.438 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02826/1.884, allocations: 6.425 MB / 0.8974 GB, free: 1.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01526/1.9, allocations: 2.918 MB / 0.9003 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01976/1.919, allocations: 7.709 MB / 0.9078 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007442/1.927, allocations: 2.601 MB / 0.9103 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/1.937, allocations: 2.773 MB / 0.913 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/1.948, allocations: 2.697 MB / 0.9157 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00289/1.951, allocations: 326.8 kB / 0.916 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0276/1.979, allocations: 6.163 MB / 0.922 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004229/1.983, allocations: 1.34 MB / 0.9233 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007167/1.99, allocations: 1.885 MB / 0.9251 GB, free: 16.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02363/2.014, allocations: 6.843 MB / 0.9318 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/2.014, allocations: 0 / 0.9318 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/2.014, allocations: 0.8125 kB / 0.9318 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001944/2.014, allocations: 0 / 0.9318 GB, free: 15.62 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.0226/2.037, allocations: 4.131 MB / 0.9359 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.649e-05/2.037, allocations: 9.594 kB / 0.9359 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001669/2.039, allocations: 366.8 kB / 0.9362 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/2.053, allocations: 0.9136 MB / 0.9371 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00665/2.06, allocations: 1.846 MB / 0.9389 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/2.06, allocations: 197.8 kB / 0.9391 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/2.061, allocations: 268.2 kB / 0.9394 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/2.073, allocations: 3.328 MB / 0.9426 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/2.073, allocations: 2.375 kB / 0.9426 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006418/2.074, allocations: 105.2 kB / 0.9427 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/2.074, allocations: 146 kB / 0.9429 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/2.087, allocations: 3.489 MB / 0.9463 GB, free: 11.21 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.03184/2.119, allocations: 12.2 MB / 0.9582 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009302/2.128, allocations: 3.494 MB / 0.9616 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0064/2.134, allocations: 1.814 MB / 0.9634 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002998/2.137, allocations: 1.492 MB / 0.9648 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/2.138, allocations: 68.69 kB / 0.9649 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 8.476e-06/2.138, allocations: 0 / 0.9649 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.01476/2.152, allocations: 3.883 MB / 0.9687 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/2.153, allocations: 81.53 kB / 0.9688 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/2.156, allocations: 1.376 MB / 0.9701 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007155/2.157, allocations: 73.7 kB / 0.9702 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/2.159, allocations: 0.9881 MB / 0.9711 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/2.161, allocations: 0.9458 MB / 0.9721 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/2.162, allocations: 401 kB / 0.9724 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001622/2.162, allocations: 305.1 kB / 0.9727 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003819/2.166, allocations: 1.096 MB / 0.9738 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/2.17, allocations: 1.378 MB / 0.9751 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009832/2.18, allocations: 2.64 MB / 0.9777 GB, free: 168 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/2.18, allocations: 4 kB / 0.9777 GB, free: 164 kB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01233/2.193, allocations: 2.969 MB / 0.9806 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/2.193, allocations: 8 kB / 0.9806 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/2.193, allocations: 4 kB / 0.9806 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.112e-05/2.193, allocations: 16 kB / 0.9807 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005432/2.198, allocations: 0.5145 MB / 0.9812 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-05/2.199, allocations: 18.47 kB / 0.9812 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/2.204, allocations: 195.1 kB / 0.9814 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006231/2.204, allocations: 87.92 kB / 0.9814 GB, free: 12.37 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.002763/2.207, allocations: 0.6407 MB / 0.9821 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/2.208, allocations: 229.3 kB / 0.9823 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/2.22, allocations: 3.105 MB / 0.9853 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-05/2.22, allocations: 24 kB / 0.9853 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/2.22, allocations: 7.938 kB / 0.9853 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007644/2.228, allocations: 2.644 MB / 0.9879 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/2.247, allocations: 6.207 MB / 0.994 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/2.247, allocations: 0 / 0.994 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00478/2.252, allocations: 0.5519 MB / 0.9945 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.357e-05/2.252, allocations: 8 kB / 0.9945 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000461/2.252, allocations: 59.97 kB / 0.9946 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.69e-05/2.252, allocations: 15.94 kB / 0.9946 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/2.252, allocations: 2.625 kB / 0.9946 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/2.268, allocations: 4.803 MB / 0.9993 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/2.271, allocations: 0.6032 MB / 0.9999 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/2.272, allocations: 59.98 kB / 1 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003966/2.276, allocations: 59.98 kB / 1 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/2.277, allocations: 165.9 kB / 1 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004177/2.277, allocations: 83.97 kB / 1 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002794/2.28, allocations: 0.9369 MB / 1.001 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.7e-07/2.28, allocations: 4 kB / 1.001 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004873/2.285, allocations: 0.9823 MB / 1.002 GB, free: 6.98 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.01747/2.302, allocations: 5.634 MB / 1.008 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02544/2.328, allocations: 5.536 MB / 1.013 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/2.328, allocations: 0 / 1.013 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004764/2.333, allocations: 1.51 MB / 1.015 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/2.344, allocations: 1.357 MB / 1.016 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0678/2.412, allocations: 21.24 MB / 1.037 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/2.416, allocations: 1.897 MB / 1.038 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.007092/2.423, allocations: 0.8397 MB / 1.039 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/2.427, allocations: 1.089 MB / 1.04 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/2.427, allocations: 0 / 1.04 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2505/2.677, allocations: 67.84 MB / 1.107 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/14.95, allocations: 12.53 kB / 1.107 GB, free: 11.64 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 & 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)