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: translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001598, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.00191/0.00191, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8283/0.8283, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.88 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.6478/0.8101, allocations: 202 MB / 0.8575 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.8223, allocations: 7.367 MB / 0.8647 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.8246, allocations: 37.28 kB / 0.8648 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.827, allocations: 0.7204 MB / 0.8655 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007596/0.8346, allocations: 2.48 MB / 0.8679 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.8382, allocations: 1.251 MB / 0.8691 GB, free: 236 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.8428, allocations: 2.911 MB / 0.872 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.8443, allocations: 0.9616 MB / 0.8729 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.8462, allocations: 1.063 MB / 0.8739 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.8481, allocations: 0.9651 MB / 0.8749 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.8482, allocations: 112 kB / 0.875 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/0.8527, allocations: 2.136 MB / 0.8771 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004995/0.8532, allocations: 454.7 kB / 0.8775 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008451/0.8541, allocations: 0.6611 MB / 0.8782 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.8584, allocations: 2.407 MB / 0.8805 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8584, allocations: 0 / 0.8805 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8584, allocations: 0 / 0.8805 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.8584, allocations: 0 / 0.8805 GB, free: 4.531 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.003409/0.8618, allocations: 1.632 MB / 0.8821 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8619, allocations: 8.031 kB / 0.8821 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.8643, allocations: 374.2 kB / 0.8825 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.8658, allocations: 0.8512 MB / 0.8833 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.8659, allocations: 66 kB / 0.8834 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.8661, allocations: 84 kB / 0.8834 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.8678, allocations: 1.042 MB / 0.8845 GB, free: 360 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.8679, allocations: 0 / 0.8845 GB, free: 360 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.8679, allocations: 32 kB / 0.8845 GB, free: 328 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.868, allocations: 45.98 kB / 0.8845 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.8696, allocations: 0.8782 MB / 0.8854 GB, free: 15.39 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.00522/0.8748, allocations: 4.292 MB / 0.8896 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.8759, allocations: 0.6915 MB / 0.8903 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.8767, allocations: 459 kB / 0.8907 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/0.8774, allocations: 0.6732 MB / 0.8913 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.407e-05/0.8775, allocations: 43.12 kB / 0.8914 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/0.8775, allocations: 0 / 0.8914 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002054/0.8796, allocations: 0.9977 MB / 0.8924 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.8797, allocations: 59.91 kB / 0.8924 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/0.8805, allocations: 0.6334 MB / 0.893 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.8805, allocations: 41.7 kB / 0.8931 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.8809, allocations: 428.1 kB / 0.8935 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.8811, allocations: 248.3 kB / 0.8937 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.8813, allocations: 122.2 kB / 0.8938 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8815, allocations: 390.8 kB / 0.8942 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.882, allocations: 273.2 kB / 0.8945 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.8825, allocations: 370.7 kB / 0.8948 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.8836, allocations: 0.6626 MB / 0.8955 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8836, allocations: 0 / 0.8955 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001282/0.8849, allocations: 0.7908 MB / 0.8962 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8849, allocations: 4 kB / 0.8963 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8849, allocations: 7.938 kB / 0.8963 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.8849, allocations: 4 kB / 0.8963 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.8856, allocations: 139.8 kB / 0.8964 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.8857, allocations: 11.88 kB / 0.8964 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.8864, allocations: 61.3 kB / 0.8965 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.8865, allocations: 20 kB / 0.8965 GB, free: 3.402 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.0004308/0.8869, allocations: 297.6 kB / 0.8968 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.887, allocations: 82.97 kB / 0.8968 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.8884, allocations: 0.7818 MB / 0.8976 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.8885, allocations: 11.94 kB / 0.8976 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8885, allocations: 4 kB / 0.8976 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.8896, allocations: 0.8191 MB / 0.8984 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.8923, allocations: 1.837 MB / 0.9002 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8923, allocations: 0.6875 kB / 0.9002 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.8931, allocations: 167.8 kB / 0.9004 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.8931, allocations: 8 kB / 0.9004 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.8932, allocations: 15.98 kB / 0.9004 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.8932, allocations: 8.812 kB / 0.9004 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8932, allocations: 0 / 0.9004 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.8951, allocations: 1.286 MB / 0.9017 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.8954, allocations: 240 kB / 0.9019 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8956, allocations: 16 kB / 0.9019 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.8961, allocations: 27.98 kB / 0.9019 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.8963, allocations: 44.5 kB / 0.902 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.8963, allocations: 23.98 kB / 0.902 GB, free: 13.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005533/0.8969, allocations: 455 kB / 0.9024 GB, free: 13.15 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8969, allocations: 0 / 0.9024 GB, free: 13.15 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008644/0.8978, allocations: 335.2 kB / 0.9028 GB, free: 12.82 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.0003593/0.8981, allocations: 200.8 kB / 0.903 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.8993, allocations: 0.6834 MB / 0.9036 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8993, allocations: 0 / 0.9036 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.8998, allocations: 367 kB / 0.904 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.9021, allocations: 0.554 MB / 0.9045 GB, free: 11.05 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.9056, allocations: 2.177 MB / 0.9066 GB, free: 8.832 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.9063, allocations: 1.085 MB / 0.9077 GB, free: 7.719 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.9066, allocations: 79.42 kB / 0.9078 GB, free: 7.641 MB / 0.67 GB Notification: Performance of SimCode: time 3.5e-07/0.9066, allocations: 0 / 0.9078 GB, free: 7.641 MB / 0.67 GB Notification: Performance of Templates: time 0.02264/0.9292, allocations: 15.47 MB / 0.9229 GB, free: 8.305 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (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 & ./IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)