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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7473/0.7473, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 404.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 111.7 kB / 485.9 MB, free: 7.137 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009778/0.0009779, allocations: 55.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1126, allocations: 80.42 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.4248/0.5374, allocations: 199.7 MB / 0.8372 GB, free: 9.297 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009349/0.5468, allocations: 7.471 MB / 0.8445 GB, free: 1.812 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.5474, allocations: 35.81 kB / 0.8445 GB, free: 1.777 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.5488, allocations: 0.6064 MB / 0.8451 GB, free: 1.168 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.5531, allocations: 2.258 MB / 0.8473 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.5553, allocations: 1.123 MB / 0.8484 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003426/0.5588, allocations: 4.18 MB / 0.8525 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.5597, allocations: 0.8091 MB / 0.8533 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009952/0.5607, allocations: 0.8947 MB / 0.8541 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.5624, allocations: 0.9967 MB / 0.8551 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5625, allocations: 60 kB / 0.8552 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.566, allocations: 2.49 MB / 0.8576 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5664, allocations: 394.8 kB / 0.858 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.5669, allocations: 0.6142 MB / 0.8586 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.5695, allocations: 2.501 MB / 0.861 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5695, allocations: 0 / 0.861 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5695, allocations: 0 / 0.861 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.5695, allocations: 4 kB / 0.861 GB, free: 0.7969 MB / 0.5886 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.002852/0.5724, allocations: 1.628 MB / 0.8626 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.5724, allocations: 8.031 kB / 0.8626 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.5747, allocations: 370.3 kB / 0.863 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5759, allocations: 0.8161 MB / 0.8638 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.5759, allocations: 69.94 kB / 0.8638 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5761, allocations: 91.89 kB / 0.8639 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.5776, allocations: 1.038 MB / 0.8649 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5776, allocations: 3.938 kB / 0.865 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.5777, allocations: 35.98 kB / 0.865 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.5778, allocations: 45.98 kB / 0.865 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5793, allocations: 0.8744 MB / 0.8659 GB, free: 11.7 MB / 0.6042 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.004272/0.5835, allocations: 4.272 MB / 0.8701 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.5846, allocations: 0.6873 MB / 0.8707 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.5853, allocations: 454.9 kB / 0.8712 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.5859, allocations: 0.6771 MB / 0.8718 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.5859, allocations: 43.06 kB / 0.8719 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 1.943e-06/0.5859, allocations: 0 / 0.8719 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001755/0.5877, allocations: 0.9861 MB / 0.8728 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.5877, allocations: 59.97 kB / 0.8729 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.5884, allocations: 0.645 MB / 0.8735 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.5885, allocations: 37.7 kB / 0.8735 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.5887, allocations: 436 kB / 0.874 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.5889, allocations: 248.3 kB / 0.8742 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.5891, allocations: 122.3 kB / 0.8743 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5893, allocations: 382.8 kB / 0.8747 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.5897, allocations: 273.2 kB / 0.8749 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.5902, allocations: 374.7 kB / 0.8753 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5913, allocations: 0.6626 MB / 0.8759 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5913, allocations: 0 / 0.8759 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001188/0.5925, allocations: 0.789 MB / 0.8767 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5925, allocations: 9.25 kB / 0.8767 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5925, allocations: 192 / 0.8767 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.5925, allocations: 8 kB / 0.8767 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.5932, allocations: 147.8 kB / 0.8769 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5932, allocations: 7.938 kB / 0.8769 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.594, allocations: 95.39 kB / 0.877 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.5941, allocations: 23.98 kB / 0.877 GB, free: 15.68 MB / 0.6198 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.0003501/0.5944, allocations: 293.6 kB / 0.8773 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.5946, allocations: 79.06 kB / 0.8774 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5959, allocations: 0.7899 MB / 0.8781 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.5959, allocations: 15.94 kB / 0.8781 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5959, allocations: 0 / 0.8781 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.597, allocations: 0.8114 MB / 0.8789 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.5994, allocations: 1.852 MB / 0.8807 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5994, allocations: 0 / 0.8807 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.6003, allocations: 171.8 kB / 0.8809 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.6003, allocations: 4 kB / 0.8809 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.6003, allocations: 16 kB / 0.8809 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6003, allocations: 4 kB / 0.8809 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6003, allocations: 0 / 0.8809 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.6123, allocations: 6.994 MB / 0.8878 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.6127, allocations: 243.9 kB / 0.888 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.6128, allocations: 12 kB / 0.888 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.6135, allocations: 67.84 kB / 0.8881 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6136, allocations: 48.5 kB / 0.8881 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.6137, allocations: 23.98 kB / 0.8881 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004882/0.6142, allocations: 455 kB / 0.8886 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6142, allocations: 0 / 0.8886 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001457/0.6157, allocations: 0.5225 MB / 0.8891 GB, free: 2.977 MB / 0.6198 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.0003681/0.616, allocations: 228.3 kB / 0.8893 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.6171, allocations: 0.6757 MB / 0.89 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6171, allocations: 0 / 0.89 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.6176, allocations: 371 kB / 0.8903 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.62, allocations: 0.5245 MB / 0.8908 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.6235, allocations: 2.963 MB / 0.8937 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.6241, allocations: 1.112 MB / 0.8948 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008943/0.625, allocations: 251.2 kB / 0.895 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.6253, allocations: 75.42 kB / 0.8951 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.6253, allocations: 0 / 0.8951 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of Templates: time 0.02817/0.6534, allocations: 20.91 MB / 0.9155 GB, free: 8.016 MB / 0.6511 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)