Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_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.007419/0.007419, allocations: 97.73 kB / 15.73 MB, free: 6.066 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.001484/0.001484, allocations: 195.6 kB / 16.67 MB, free: 5.965 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.605/1.605, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8669/0.8669, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 72.02 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2058, allocations: 80.21 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.805/1.011, allocations: 201.9 MB / 0.8564 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01076/1.022, allocations: 7.381 MB / 0.8636 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/1.024, allocations: 35.22 kB / 0.8636 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/1.026, allocations: 0.6948 MB / 0.8643 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00707/1.033, allocations: 2.404 MB / 0.8667 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003653/1.037, allocations: 1.242 MB / 0.8679 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005051/1.042, allocations: 2.905 MB / 0.8707 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/1.044, allocations: 0.9586 MB / 0.8716 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/1.047, allocations: 1.019 MB / 0.8726 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/1.049, allocations: 0.9612 MB / 0.8736 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/1.049, allocations: 112 kB / 0.8737 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/1.054, allocations: 2.13 MB / 0.8758 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005533/1.055, allocations: 447.6 kB / 0.8762 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.056, allocations: 0.6626 MB / 0.8768 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005199/1.061, allocations: 2.417 MB / 0.8792 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.061, allocations: 0.8125 kB / 0.8792 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/1.061, allocations: 0 / 0.8792 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.756e-05/1.061, allocations: 0 / 0.8792 GB, free: 1.527 MB / 0.6387 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.003239/1.065, allocations: 1.677 MB / 0.8808 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.065, allocations: 14 kB / 0.8809 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/1.065, allocations: 132.8 kB / 0.881 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.067, allocations: 377.9 kB / 0.8813 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/1.069, allocations: 0.8542 MB / 0.8822 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/1.069, allocations: 60.16 kB / 0.8822 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.069, allocations: 94.33 kB / 0.8823 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.07, allocations: 1.044 MB / 0.8833 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/1.071, allocations: 0 / 0.8833 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/1.071, allocations: 34.41 kB / 0.8834 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/1.071, allocations: 49.38 kB / 0.8834 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.072, allocations: 0.8725 MB / 0.8843 GB, free: 56 kB / 0.6387 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.005655/1.078, allocations: 4.294 MB / 0.8885 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.079, allocations: 0.6909 MB / 0.8891 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/1.08, allocations: 461.1 kB / 0.8896 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/1.08, allocations: 0.6758 MB / 0.8902 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/1.08, allocations: 39.84 kB / 0.8903 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/1.08, allocations: 4.188 kB / 0.8903 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.0019/1.082, allocations: 0.9933 MB / 0.8913 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.082, allocations: 61.98 kB / 0.8913 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/1.083, allocations: 0.6308 MB / 0.8919 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.65e-05/1.083, allocations: 43.05 kB / 0.892 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/1.084, allocations: 445.4 kB / 0.8924 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.084, allocations: 252 kB / 0.8926 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.084, allocations: 122.2 kB / 0.8928 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.084, allocations: 391.2 kB / 0.8931 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/1.085, allocations: 273.1 kB / 0.8934 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/1.085, allocations: 370 kB / 0.8937 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.086, allocations: 0.665 MB / 0.8944 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.086, allocations: 0 / 0.8944 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001322/1.088, allocations: 0.7937 MB / 0.8952 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.088, allocations: 4.875 kB / 0.8952 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.088, allocations: 1.938 kB / 0.8952 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.088, allocations: 7.125 kB / 0.8952 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/1.088, allocations: 138.5 kB / 0.8953 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.088, allocations: 8.875 kB / 0.8953 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/1.089, allocations: 63.19 kB / 0.8954 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/1.089, allocations: 23.88 kB / 0.8954 GB, free: 9.246 MB / 0.6544 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.0005157/1.09, allocations: 289.5 kB / 0.8957 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.09, allocations: 95.59 kB / 0.8958 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/1.091, allocations: 0.7881 MB / 0.8965 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/1.092, allocations: 9.5 kB / 0.8965 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.092, allocations: 0 / 0.8965 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/1.093, allocations: 0.8165 MB / 0.8973 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/1.096, allocations: 1.84 MB / 0.8991 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.096, allocations: 0 / 0.8991 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/1.096, allocations: 172.6 kB / 0.8993 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/1.096, allocations: 4.594 kB / 0.8993 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/1.096, allocations: 20.95 kB / 0.8993 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.096, allocations: 0 / 0.8993 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.096, allocations: 3.875 kB / 0.8993 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.098, allocations: 1.278 MB / 0.9006 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/1.099, allocations: 255.2 kB / 0.9008 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.099, allocations: 18.69 kB / 0.9008 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/1.1, allocations: 22.77 kB / 0.9009 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.1, allocations: 50.03 kB / 0.9009 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/1.1, allocations: 23.55 kB / 0.9009 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000665/1.101, allocations: 455 kB / 0.9014 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.144e-06/1.101, allocations: 0.9688 kB / 0.9014 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001015/1.102, allocations: 340.8 kB / 0.9017 GB, free: 6 MB / 0.6544 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.002747/1.104, allocations: 1.916 MB / 0.9036 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.106, allocations: 0.6812 MB / 0.9042 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.106, allocations: 3.344 kB / 0.9042 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/1.106, allocations: 378.2 kB / 0.9046 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/1.109, allocations: 0.5364 MB / 0.9051 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.12, allocations: 6.955 MB / 0.9119 GB, free: 14.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000913/1.121, allocations: 1.085 MB / 0.913 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001085/1.123, allocations: 227.2 kB / 0.9132 GB, free: 12.76 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/1.123, allocations: 363.3 kB / 0.9135 GB, free: 12.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/1.123, allocations: 0 / 0.9135 GB, free: 12.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06868/1.192, allocations: 25.34 MB / 0.9383 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.596/10.79, allocations: 10.44 kB / 0.9383 GB, free: 3.48 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)