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.005008/0.005008, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.001512/0.001512, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7981/0.7981, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 64.06 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1281, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.4622/0.5904, allocations: 202 MB / 0.8564 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.6006, allocations: 7.374 MB / 0.8636 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.6012, allocations: 36.97 kB / 0.8636 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.6028, allocations: 0.6939 MB / 0.8643 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.6075, allocations: 2.401 MB / 0.8667 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.61, allocations: 1.233 MB / 0.8679 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.6132, allocations: 2.913 MB / 0.8707 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.6144, allocations: 0.9556 MB / 0.8716 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.6157, allocations: 1.024 MB / 0.8726 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.6174, allocations: 0.9663 MB / 0.8736 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.6176, allocations: 108 kB / 0.8737 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.6211, allocations: 2.128 MB / 0.8758 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.6215, allocations: 450.7 kB / 0.8762 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007012/0.6222, allocations: 0.6767 MB / 0.8769 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.6253, allocations: 2.405 MB / 0.8792 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6253, allocations: 4 kB / 0.8792 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6253, allocations: 3.938 kB / 0.8792 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.6253, allocations: 0 / 0.8792 GB, free: 4.973 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.003026/0.6284, allocations: 1.661 MB / 0.8808 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.6284, allocations: 16.03 kB / 0.8809 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.6286, allocations: 131.3 kB / 0.881 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.6309, allocations: 382.9 kB / 0.8813 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.6322, allocations: 0.8636 MB / 0.8822 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.6323, allocations: 62 kB / 0.8822 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6324, allocations: 83.98 kB / 0.8823 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.6341, allocations: 1.038 MB / 0.8833 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.6342, allocations: 3.938 kB / 0.8833 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.6343, allocations: 43.98 kB / 0.8834 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/0.6343, allocations: 45.98 kB / 0.8834 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.6359, allocations: 0.8744 MB / 0.8843 GB, free: 15.64 MB / 0.6544 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.004777/0.6406, allocations: 4.3 MB / 0.8885 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.6417, allocations: 0.675 MB / 0.8891 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.6426, allocations: 462.9 kB / 0.8896 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/0.6432, allocations: 0.6771 MB / 0.8902 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.6433, allocations: 47.06 kB / 0.8903 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.647e-06/0.6433, allocations: 0 / 0.8903 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001855/0.6452, allocations: 0.9943 MB / 0.8913 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6452, allocations: 63.91 kB / 0.8913 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.646, allocations: 0.6334 MB / 0.8919 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.646, allocations: 41.7 kB / 0.892 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.6464, allocations: 444.8 kB / 0.8924 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.6466, allocations: 257.8 kB / 0.8927 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.6469, allocations: 114.3 kB / 0.8928 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6471, allocations: 386.7 kB / 0.8931 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.6475, allocations: 277.2 kB / 0.8934 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.6481, allocations: 366.7 kB / 0.8937 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6492, allocations: 0.6587 MB / 0.8944 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6492, allocations: 0 / 0.8944 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001321/0.6505, allocations: 0.7974 MB / 0.8952 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6505, allocations: 8 kB / 0.8952 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6505, allocations: 0 / 0.8952 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6506, allocations: 8 kB / 0.8952 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.6512, allocations: 151.7 kB / 0.8953 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.6512, allocations: 7.984 kB / 0.8953 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.6519, allocations: 51.56 kB / 0.8954 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.6519, allocations: 24 kB / 0.8954 GB, free: 3.621 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.0003644/0.6523, allocations: 293.7 kB / 0.8957 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.6525, allocations: 90.73 kB / 0.8958 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.6539, allocations: 0.7919 MB / 0.8965 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6539, allocations: 8 kB / 0.8966 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6539, allocations: 4 kB / 0.8966 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.6551, allocations: 0.8036 MB / 0.8973 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.6577, allocations: 1.853 MB / 0.8992 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6577, allocations: 0 / 0.8992 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.6585, allocations: 171.8 kB / 0.8993 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6586, allocations: 7.984 kB / 0.8993 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.6586, allocations: 20 kB / 0.8993 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6586, allocations: 0 / 0.8993 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6586, allocations: 0 / 0.8993 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.6605, allocations: 1.282 MB / 0.9006 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.6609, allocations: 252.3 kB / 0.9008 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.661, allocations: 12 kB / 0.9008 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.6616, allocations: 27.98 kB / 0.9009 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.6617, allocations: 40.5 kB / 0.9009 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.6618, allocations: 27.98 kB / 0.9009 GB, free: 13.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005482/0.6623, allocations: 451 kB / 0.9014 GB, free: 13.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.893e-06/0.6623, allocations: 0 / 0.9014 GB, free: 13.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007175/0.663, allocations: 351.3 kB / 0.9017 GB, free: 13.02 MB / 0.67 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.002388/0.6654, allocations: 1.912 MB / 0.9036 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.6666, allocations: 0.6757 MB / 0.9042 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6666, allocations: 4.375 kB / 0.9042 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.6672, allocations: 367 kB / 0.9046 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.6694, allocations: 0.5577 MB / 0.9051 GB, free: 9.508 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00951/0.679, allocations: 6.948 MB / 0.9119 GB, free: 2.398 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.6797, allocations: 1.093 MB / 0.913 GB, free: 1.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000691/0.6804, allocations: 223.2 kB / 0.9132 GB, free: 1.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.6809, allocations: 363.3 kB / 0.9135 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of SimCode: time 3.6e-07/0.681, allocations: 4 kB / 0.9135 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/0.7363, allocations: 25.33 MB / 0.9383 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.972/9.708, allocations: 10.27 kB / 0.9383 GB, free: 7.652 MB / 0.7012 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)