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.001147/0.001147, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001249/0.001248, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.37/1.37, 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.8411/0.8411, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.56 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1797, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.6955/0.8752, allocations: 202 MB / 0.8575 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.8889, allocations: 7.371 MB / 0.8647 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.8912, allocations: 36.84 kB / 0.8648 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.8935, allocations: 0.7041 MB / 0.8655 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007388/0.901, allocations: 2.396 MB / 0.8678 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.9049, allocations: 1.238 MB / 0.869 GB, free: 388 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.91, allocations: 2.919 MB / 0.8719 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.9122, allocations: 0.9525 MB / 0.8728 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.9149, allocations: 1.039 MB / 0.8738 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.9175, allocations: 0.9616 MB / 0.8747 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.918, allocations: 116 kB / 0.8749 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.9231, allocations: 2.124 MB / 0.8769 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007594/0.9239, allocations: 450.8 kB / 0.8774 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.9255, allocations: 0.6611 MB / 0.878 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.931, allocations: 2.407 MB / 0.8804 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.931, allocations: 4 kB / 0.8804 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.931, allocations: 0 / 0.8804 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.131e-05/0.9311, allocations: 4 kB / 0.8804 GB, free: 4.711 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.004466/0.9356, allocations: 1.624 MB / 0.882 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.9357, allocations: 16.02 kB / 0.882 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.9385, allocations: 362.2 kB / 0.8823 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.9402, allocations: 0.8513 MB / 0.8831 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.9403, allocations: 65.98 kB / 0.8832 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.9405, allocations: 84 kB / 0.8833 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.9425, allocations: 1.049 MB / 0.8843 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.9425, allocations: 4 kB / 0.8843 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.9426, allocations: 32 kB / 0.8843 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/0.9427, allocations: 45.98 kB / 0.8844 GB, free: 468 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.9444, allocations: 0.8744 MB / 0.8852 GB, free: 15.58 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.005617/0.95, allocations: 4.295 MB / 0.8894 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.9512, allocations: 0.6906 MB / 0.8901 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.952, allocations: 459 kB / 0.8906 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.9527, allocations: 0.6693 MB / 0.8912 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.9528, allocations: 43.12 kB / 0.8912 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/0.9528, allocations: 8 kB / 0.8913 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002061/0.9549, allocations: 0.9861 MB / 0.8922 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.9549, allocations: 63.91 kB / 0.8923 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.9558, allocations: 0.6295 MB / 0.8929 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.9559, allocations: 41.7 kB / 0.8929 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.9563, allocations: 428.1 kB / 0.8933 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.9566, allocations: 256.3 kB / 0.8936 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.9568, allocations: 122.2 kB / 0.8937 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.957, allocations: 386.8 kB / 0.8941 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.9575, allocations: 277.2 kB / 0.8943 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.958, allocations: 362.8 kB / 0.8947 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.9591, allocations: 0.6625 MB / 0.8953 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9591, allocations: 4 kB / 0.8953 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001419/0.9605, allocations: 0.7892 MB / 0.8961 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9606, allocations: 4 kB / 0.8961 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.9606, allocations: 0 / 0.8961 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.9606, allocations: 8 kB / 0.8961 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.9613, allocations: 139.8 kB / 0.8962 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.9613, allocations: 8.125 kB / 0.8963 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.9622, allocations: 60.3 kB / 0.8963 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.9623, allocations: 20 kB / 0.8963 GB, free: 3.594 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.0004583/0.9627, allocations: 297.5 kB / 0.8966 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.9629, allocations: 86.97 kB / 0.8967 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.9644, allocations: 0.7896 MB / 0.8975 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.9644, allocations: 11.94 kB / 0.8975 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9644, allocations: 0 / 0.8975 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.9655, allocations: 0.8113 MB / 0.8983 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.9684, allocations: 1.841 MB / 0.9001 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.9685, allocations: 0.6875 kB / 0.9001 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.9693, allocations: 175.8 kB / 0.9002 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.9693, allocations: 0 / 0.9002 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.9694, allocations: 23.92 kB / 0.9003 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.9694, allocations: 0.875 kB / 0.9003 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9694, allocations: 7.938 kB / 0.9003 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.9716, allocations: 1.278 MB / 0.9015 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.9721, allocations: 247.9 kB / 0.9018 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.9723, allocations: 16 kB / 0.9018 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.973, allocations: 23.98 kB / 0.9018 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.9732, allocations: 44.5 kB / 0.9018 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.9732, allocations: 23.98 kB / 0.9019 GB, free: 13.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005968/0.9738, allocations: 455 kB / 0.9023 GB, free: 13.33 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9738, allocations: 0 / 0.9023 GB, free: 13.33 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009847/0.9748, allocations: 335.2 kB / 0.9026 GB, free: 13 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.0003974/0.9752, allocations: 199.8 kB / 0.9028 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.9765, allocations: 0.6795 MB / 0.9035 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9765, allocations: 0 / 0.9035 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.9771, allocations: 375.3 kB / 0.9038 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.9796, allocations: 0.5471 MB / 0.9044 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.9843, allocations: 2.188 MB / 0.9065 GB, free: 9.012 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.9855, allocations: 1.085 MB / 0.9076 GB, free: 7.898 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9859, allocations: 75.44 kB / 0.9076 GB, free: 7.824 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/0.9859, allocations: 0 / 0.9076 GB, free: 7.824 MB / 0.67 GB Notification: Performance of Templates: time 0.02793/1.014, allocations: 15.47 MB / 0.9227 GB, free: 8.48 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)