Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.001655/0.001655, 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.001932/0.001932, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.5/2.5, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.204/1.204, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 68.45 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2473, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.6575/0.9049, allocations: 201.9 MB / 0.7817 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.9238, allocations: 7.38 MB / 0.7889 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.9265, allocations: 35.81 kB / 0.7889 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003362/0.9299, allocations: 0.6953 MB / 0.7896 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.9406, allocations: 2.404 MB / 0.7919 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005306/0.946, allocations: 1.227 MB / 0.7931 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005795/0.9518, allocations: 2.906 MB / 0.796 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.954, allocations: 0.9445 MB / 0.7969 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.9562, allocations: 1.02 MB / 0.7979 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.9588, allocations: 0.9645 MB / 0.7988 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.9593, allocations: 108 kB / 0.7989 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006461/0.9658, allocations: 2.132 MB / 0.801 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.9673, allocations: 454.7 kB / 0.8015 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003336/0.9706, allocations: 0.665 MB / 0.8021 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009764/0.9804, allocations: 2.38 MB / 0.8044 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.9805, allocations: 8 kB / 0.8044 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9805, allocations: 0 / 0.8044 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.967e-05/0.9806, allocations: 0 / 0.8044 GB, free: 11.49 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006404/0.987, allocations: 1.628 MB / 0.806 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.9871, allocations: 12.03 kB / 0.806 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004336/0.9875, allocations: 135.3 kB / 0.8062 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.9923, allocations: 370.3 kB / 0.8065 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.995, allocations: 0.8122 MB / 0.8073 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.9952, allocations: 66 kB / 0.8074 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.9955, allocations: 95.88 kB / 0.8075 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.9989, allocations: 1.042 MB / 0.8085 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.526e-05/0.999, allocations: 0 / 0.8085 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.9992, allocations: 35.98 kB / 0.8085 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.9993, allocations: 49.92 kB / 0.8086 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/1.002, allocations: 0.8744 MB / 0.8094 GB, free: 6.246 MB / 0.6231 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.009525/1.012, allocations: 4.311 MB / 0.8136 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/1.014, allocations: 0.6876 MB / 0.8143 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.015, allocations: 450.9 kB / 0.8147 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/1.016, allocations: 0.681 MB / 0.8154 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/1.016, allocations: 39.12 kB / 0.8154 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 4.038e-06/1.016, allocations: 0 / 0.8154 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.003497/1.02, allocations: 0.9939 MB / 0.8164 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/1.02, allocations: 59.91 kB / 0.8165 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/1.022, allocations: 0.6373 MB / 0.8171 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.022, allocations: 37.7 kB / 0.8171 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/1.022, allocations: 436 kB / 0.8175 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/1.023, allocations: 248.3 kB / 0.8178 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/1.023, allocations: 118.3 kB / 0.8179 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000271/1.023, allocations: 390.8 kB / 0.8183 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/1.024, allocations: 273.2 kB / 0.8185 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009586/1.025, allocations: 366.7 kB / 0.8189 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.027, allocations: 0.6626 MB / 0.8195 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.027, allocations: 0 / 0.8195 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002501/1.03, allocations: 0.7929 MB / 0.8203 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.03, allocations: 4 kB / 0.8203 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.03, allocations: 4 kB / 0.8203 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/1.03, allocations: 4 kB / 0.8203 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.031, allocations: 145 kB / 0.8204 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/1.031, allocations: 7.938 kB / 0.8205 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.033, allocations: 59.7 kB / 0.8205 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/1.033, allocations: 20 kB / 0.8205 GB, free: 10.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0007741/1.034, allocations: 293.6 kB / 0.8208 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/1.034, allocations: 82.97 kB / 0.8209 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/1.036, allocations: 0.7936 MB / 0.8217 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.036, allocations: 11.94 kB / 0.8217 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/1.036, allocations: 0 / 0.8217 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/1.038, allocations: 0.8075 MB / 0.8225 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/1.043, allocations: 1.852 MB / 0.8243 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.043, allocations: 3.062 kB / 0.8243 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.045, allocations: 171.8 kB / 0.8244 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/1.045, allocations: 4 kB / 0.8244 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.01e-05/1.045, allocations: 19.98 kB / 0.8245 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/1.045, allocations: 4 kB / 0.8245 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.045, allocations: 0 / 0.8245 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/1.049, allocations: 1.275 MB / 0.8257 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007317/1.05, allocations: 243.9 kB / 0.8259 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/1.05, allocations: 12 kB / 0.826 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.051, allocations: 23.17 kB / 0.826 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.051, allocations: 52.44 kB / 0.826 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/1.052, allocations: 19.98 kB / 0.826 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00117/1.053, allocations: 459 kB / 0.8265 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.51e-07/1.053, allocations: 0 / 0.8265 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001543/1.054, allocations: 331.2 kB / 0.8268 GB, free: 3.684 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.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 (70): * Single equations (assignments): 70 * 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.00398/1.058, allocations: 1.928 MB / 0.8287 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002849/1.061, allocations: 0.8201 MB / 0.8295 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.061, allocations: 0 / 0.8295 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/1.062, allocations: 367 kB / 0.8298 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/1.066, allocations: 0.5441 MB / 0.8304 GB, free: 40 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.084, allocations: 7.158 MB / 0.8374 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.085, allocations: 1.089 MB / 0.8384 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001584/1.086, allocations: 227.2 kB / 0.8386 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006704/1.087, allocations: 359.3 kB / 0.839 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of SimCode: time 1.263e-06/1.087, allocations: 3.938 kB / 0.839 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3461/1.433, allocations: 25.16 MB / 0.8636 GB, free: 220.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.73, allocations: 10.17 kB / 0.8636 GB, free: 220.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)