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.004989/0.004989, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001458/0.001458, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.379/1.379, 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.9618/0.9618, allocations: 135.2 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 67.89 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3559, allocations: 80.92 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6421/0.998, allocations: 295.1 MB / 0.9524 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01944/1.017, allocations: 16.98 MB / 0.969 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/1.02, allocations: 81.41 kB / 0.9691 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003703/1.024, allocations: 1.898 MB / 0.9709 GB, free: 492 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/1.037, allocations: 6.426 MB / 0.9772 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/1.044, allocations: 2.935 MB / 0.98 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008473/1.052, allocations: 7.689 MB / 0.9876 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/1.055, allocations: 2.605 MB / 0.9901 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/1.059, allocations: 2.781 MB / 0.9928 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003823/1.063, allocations: 2.702 MB / 0.9955 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004305/1.064, allocations: 330.9 kB / 0.9958 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/1.076, allocations: 6.166 MB / 1.002 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/1.077, allocations: 1.335 MB / 1.003 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002552/1.08, allocations: 1.89 MB / 1.005 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/1.091, allocations: 6.914 MB / 1.012 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.091, allocations: 0 / 1.012 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/1.091, allocations: 0 / 1.012 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.828e-05/1.091, allocations: 0 / 1.012 GB, free: 8.383 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.009357/1.101, allocations: 4.227 MB / 1.016 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.101, allocations: 12.02 kB / 1.016 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004616/1.101, allocations: 369.1 kB / 1.016 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005755/1.107, allocations: 0.9318 MB / 1.017 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/1.11, allocations: 1.939 MB / 1.019 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.11, allocations: 189.1 kB / 1.019 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/1.111, allocations: 269.2 kB / 1.019 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005358/1.116, allocations: 3.328 MB / 1.023 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/1.116, allocations: 0 / 1.023 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/1.116, allocations: 107.5 kB / 1.023 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/1.116, allocations: 144.3 kB / 1.023 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006039/1.123, allocations: 3.487 MB / 1.026 GB, free: 9.34 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.01567/1.138, allocations: 12.15 MB / 1.038 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/1.143, allocations: 3.5 MB / 1.042 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/1.146, allocations: 1.841 MB / 1.043 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/1.147, allocations: 1.489 MB / 1.045 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.148, allocations: 68.75 kB / 1.045 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 3.998e-06/1.148, allocations: 0 / 1.045 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.006685/1.154, allocations: 3.889 MB / 1.049 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/1.154, allocations: 81.59 kB / 1.049 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.156, allocations: 1.376 MB / 1.05 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.156, allocations: 77.7 kB / 1.05 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/1.157, allocations: 1.009 MB / 1.051 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/1.158, allocations: 0.9875 MB / 1.052 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006529/1.159, allocations: 409 kB / 1.053 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.159, allocations: 305.1 kB / 1.053 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/1.161, allocations: 1.094 MB / 1.054 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.163, allocations: 1.383 MB / 1.055 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/1.167, allocations: 2.65 MB / 1.058 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.167, allocations: 4 kB / 1.058 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004959/1.172, allocations: 2.972 MB / 1.061 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.172, allocations: 8 kB / 1.061 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.172, allocations: 4 kB / 1.061 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.262e-05/1.172, allocations: 16.56 kB / 1.061 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/1.175, allocations: 0.5123 MB / 1.061 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/1.175, allocations: 15 kB / 1.061 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.176, allocations: 200 kB / 1.061 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.177, allocations: 80 kB / 1.062 GB, free: 3.973 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.001119/1.178, allocations: 0.6471 MB / 1.062 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/1.178, allocations: 242.5 kB / 1.062 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005505/1.184, allocations: 3.104 MB / 1.065 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/1.184, allocations: 27.98 kB / 1.065 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.184, allocations: 4 kB / 1.065 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004211/1.188, allocations: 2.644 MB / 1.068 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009602/1.197, allocations: 6.201 MB / 1.074 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.198, allocations: 3.938 kB / 1.074 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/1.2, allocations: 0.5547 MB / 1.075 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/1.2, allocations: 12 kB / 1.075 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.2, allocations: 59.92 kB / 1.075 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/1.2, allocations: 8 kB / 1.075 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.2, allocations: 7.938 kB / 1.075 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/1.208, allocations: 4.815 MB / 1.079 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.209, allocations: 0.616 MB / 1.08 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.209, allocations: 52 kB / 1.08 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.211, allocations: 69.05 kB / 1.08 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/1.211, allocations: 165.9 kB / 1.08 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.211, allocations: 79.97 kB / 1.08 GB, free: 476 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001356/1.213, allocations: 0.9439 MB / 1.081 GB, free: 15.53 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/1.213, allocations: 0 / 1.081 GB, free: 15.53 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001958/1.215, allocations: 0.9906 MB / 1.082 GB, free: 14.54 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.008449/1.223, allocations: 5.629 MB / 1.088 GB, free: 8.859 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00463/1.228, allocations: 2.776 MB / 1.091 GB, free: 6.094 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.228, allocations: 256 / 1.091 GB, free: 6.094 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/1.23, allocations: 1.512 MB / 1.092 GB, free: 4.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005679/1.236, allocations: 1.349 MB / 1.093 GB, free: 3.305 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03049/1.266, allocations: 19.49 MB / 1.112 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.268, allocations: 1.891 MB / 1.114 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002679/1.271, allocations: 0.8319 MB / 1.115 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.272, allocations: 1.093 MB / 1.116 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.645e-06/1.272, allocations: 0 / 1.116 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.394, allocations: 68.39 MB / 1.183 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.62, allocations: 16.7 kB / 1.183 GB, free: 7.965 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)