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.001268/0.001268, 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.00145/0.00145, allocations: 192.3 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 1.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6937/0.6937, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 61.88 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3419, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.1972/0.5391, allocations: 202 MB / 0.7774 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.5492, allocations: 7.375 MB / 0.7846 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.5503, allocations: 35.81 kB / 0.7846 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.552, allocations: 0.703 MB / 0.7853 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.5574, allocations: 2.396 MB / 0.7877 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.5601, allocations: 1.233 MB / 0.7889 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.564, allocations: 2.9 MB / 0.7917 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.5654, allocations: 0.9509 MB / 0.7926 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.5671, allocations: 1.02 MB / 0.7936 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.5686, allocations: 0.9655 MB / 0.7946 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.5688, allocations: 108 kB / 0.7947 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.5725, allocations: 2.135 MB / 0.7968 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5729, allocations: 442.8 kB / 0.7972 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006363/0.5736, allocations: 0.665 MB / 0.7978 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.5765, allocations: 2.388 MB / 0.8002 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5765, allocations: 0 / 0.8002 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5765, allocations: 0 / 0.8002 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.5765, allocations: 3.984 kB / 0.8002 GB, free: 15.5 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.002711/0.5792, allocations: 1.628 MB / 0.8018 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5793, allocations: 8.031 kB / 0.8018 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.5794, allocations: 139.2 kB / 0.8019 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5816, allocations: 366.3 kB / 0.8023 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.5827, allocations: 0.82 MB / 0.8031 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.5828, allocations: 65.98 kB / 0.8031 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5829, allocations: 84 kB / 0.8032 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5844, allocations: 1.046 MB / 0.8042 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.5845, allocations: 3.938 kB / 0.8042 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.5845, allocations: 36 kB / 0.8043 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/0.5846, allocations: 41.98 kB / 0.8043 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.5861, allocations: 0.8783 MB / 0.8052 GB, free: 10.25 MB / 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.004449/0.5905, allocations: 4.323 MB / 0.8094 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.5915, allocations: 0.6835 MB / 0.81 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.5922, allocations: 451.6 kB / 0.8105 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005861/0.5928, allocations: 0.681 MB / 0.8111 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.5928, allocations: 47.06 kB / 0.8112 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 4.438e-06/0.5929, allocations: 3.984 kB / 0.8112 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001753/0.5946, allocations: 0.9861 MB / 0.8122 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.5947, allocations: 63.97 kB / 0.8122 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.5954, allocations: 0.6334 MB / 0.8128 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.5954, allocations: 41.7 kB / 0.8129 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5957, allocations: 432 kB / 0.8133 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.5959, allocations: 244.3 kB / 0.8135 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.5961, allocations: 118.3 kB / 0.8136 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5963, allocations: 386.8 kB / 0.814 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.5967, allocations: 277.2 kB / 0.8143 GB, free: 364 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2931/0.8898, allocations: 371.2 kB / 0.8146 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.8911, allocations: 0.6551 MB / 0.8153 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8912, allocations: 1.062 kB / 0.8153 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001432/0.8926, allocations: 0.7911 MB / 0.816 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.8926, allocations: 5.156 kB / 0.816 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8926, allocations: 2.312 kB / 0.816 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.8927, allocations: 8.734 kB / 0.816 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.8934, allocations: 145.5 kB / 0.8162 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.8934, allocations: 11.55 kB / 0.8162 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007746/0.8942, allocations: 54.83 kB / 0.8162 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.8942, allocations: 21.12 kB / 0.8163 GB, free: 220.4 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.0004334/0.8947, allocations: 287.4 kB / 0.8165 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.8948, allocations: 85.44 kB / 0.8166 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.8962, allocations: 0.7916 MB / 0.8174 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.8962, allocations: 6.188 kB / 0.8174 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8962, allocations: 1.719 kB / 0.8174 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.8972, allocations: 0.8158 MB / 0.8182 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.9001, allocations: 1.842 MB / 0.82 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9001, allocations: 0 / 0.82 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/0.9009, allocations: 174.1 kB / 0.8202 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.901, allocations: 3.719 kB / 0.8202 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.901, allocations: 19.67 kB / 0.8202 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.901, allocations: 2.656 kB / 0.8202 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.901, allocations: 0 / 0.8202 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.9029, allocations: 1.281 MB / 0.8214 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.9032, allocations: 245.9 kB / 0.8217 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.9034, allocations: 12.94 kB / 0.8217 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.9039, allocations: 29.97 kB / 0.8217 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9041, allocations: 39.91 kB / 0.8218 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.9041, allocations: 23.09 kB / 0.8218 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005445/0.9047, allocations: 461 kB / 0.8222 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9047, allocations: 0 / 0.8222 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008293/0.9055, allocations: 335.3 kB / 0.8225 GB, free: 217.4 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.002101/0.9076, allocations: 1.911 MB / 0.8244 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.909, allocations: 0.8206 MB / 0.8252 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.909, allocations: 0 / 0.8252 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.9095, allocations: 369 kB / 0.8256 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.9117, allocations: 0.5515 MB / 0.8261 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.9202, allocations: 7.154 MB / 0.8331 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.9208, allocations: 1.09 MB / 0.8341 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008672/0.9216, allocations: 225.5 kB / 0.8344 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.922, allocations: 362.8 kB / 0.8347 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.922, allocations: 0 / 0.8347 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/0.9652, allocations: 25.16 MB / 0.8593 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/8.039, allocations: 11.5 kB / 0.8593 GB, free: 192.7 MB / 0.6387 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)