Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.00142, allocations: 185.3 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7319/0.7319, allocations: 82.92 MB / 99.42 MB, free: 3.375 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.323/2.323, allocations: 205.4 MB / 325.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001052, allocations: 94.84 kB / 393.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007406/0.0007408, allocations: 19.98 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.103, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.696/0.7991, allocations: 193.5 MB / 0.7153 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.8215, allocations: 10.17 MB / 0.7252 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.8241, allocations: 43.69 kB / 0.7252 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.8281, allocations: 1.062 MB / 0.7263 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.8392, allocations: 2.89 MB / 0.7291 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00637/0.8456, allocations: 1.591 MB / 0.7306 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005714/0.8513, allocations: 2.515 MB / 0.7331 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.8539, allocations: 1.201 MB / 0.7343 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.8573, allocations: 1.238 MB / 0.7355 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.8595, allocations: 0.9338 MB / 0.7364 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.86, allocations: 76 kB / 0.7365 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.8653, allocations: 1.365 MB / 0.7378 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.8665, allocations: 0.5297 MB / 0.7383 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008604/0.8674, allocations: 408.7 kB / 0.7387 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.8723, allocations: 2.373 MB / 0.741 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.154e-06/0.8723, allocations: 4 kB / 0.741 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8723, allocations: 0 / 0.741 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.808e-05/0.8724, allocations: 0 / 0.741 GB, free: 3.527 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006397/0.8788, allocations: 2.097 MB / 0.7431 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8789, allocations: 8.031 kB / 0.7431 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.8836, allocations: 0.5245 MB / 0.7436 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/0.8868, allocations: 1.171 MB / 0.7447 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.8869, allocations: 98.66 kB / 0.7448 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.8873, allocations: 139.9 kB / 0.745 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.8916, allocations: 1.65 MB / 0.7466 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/0.8917, allocations: 11.69 kB / 0.7466 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.8919, allocations: 52 kB / 0.7466 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.8921, allocations: 66.58 kB / 0.7467 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.8962, allocations: 1.447 MB / 0.7481 GB, free: 12.08 MB / 0.5261 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.01329/0.9095, allocations: 6.953 MB / 0.7549 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.9124, allocations: 1.207 MB / 0.7561 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/0.9133, allocations: 0.6931 MB / 0.7568 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.9149, allocations: 0.5986 MB / 0.7573 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=110): time 5.17e-06/0.9149, allocations: 0 / 0.7573 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110): time 0.004739/0.9197, allocations: 1.576 MB / 0.7589 GB, free: 392 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.9198, allocations: 86.11 kB / 0.759 GB, free: 288 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.9221, allocations: 1.179 MB / 0.7601 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.9223, allocations: 49.7 kB / 0.7602 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/0.9232, allocations: 0.6737 MB / 0.7608 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/0.9237, allocations: 390.3 kB / 0.7612 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.9238, allocations: 20 kB / 0.7612 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.924, allocations: 349.9 kB / 0.7616 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.9252, allocations: 417.8 kB / 0.762 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.9265, allocations: 0.5613 MB / 0.7625 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.9278, allocations: 494.8 kB / 0.763 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.96e-06/0.9279, allocations: 4 kB / 0.763 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003231/0.9311, allocations: 1.207 MB / 0.7642 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000568/0.9317, allocations: 0.9903 MB / 0.7651 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.9318, allocations: 4 kB / 0.7651 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.9318, allocations: 7.938 kB / 0.7651 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.9331, allocations: 215.7 kB / 0.7653 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.9332, allocations: 12.64 kB / 0.7653 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.935, allocations: 170.8 kB / 0.7655 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.9351, allocations: 40 kB / 0.7655 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9352, allocations: 4 kB / 0.7656 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002699/0.9379, allocations: 1.031 MB / 0.7666 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9379, allocations: 0 / 0.7666 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.9379, allocations: 15.94 kB / 0.7666 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.9392, allocations: 212 kB / 0.7668 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.9393, allocations: 7.984 kB / 0.7668 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.941, allocations: 162.8 kB / 0.7669 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.9412, allocations: 39.98 kB / 0.767 GB, free: 7.941 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.9423, allocations: 492.7 kB / 0.7674 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.9426, allocations: 146.2 kB / 0.7676 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.9459, allocations: 1.243 MB / 0.7688 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.946, allocations: 16.88 kB / 0.7688 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.639e-06/0.946, allocations: 0 / 0.7688 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/0.9486, allocations: 1.011 MB / 0.7698 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/0.9564, allocations: 3.159 MB / 0.7729 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.743e-06/0.9565, allocations: 0 / 0.7729 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.9581, allocations: 236 kB / 0.7731 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/0.9581, allocations: 8.062 kB / 0.7731 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.9583, allocations: 32 kB / 0.7732 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.599e-05/0.9583, allocations: 11.92 kB / 0.7732 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.138e-06/0.9583, allocations: 4 kB / 0.7732 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/0.9632, allocations: 2.139 MB / 0.7753 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.9648, allocations: 362.9 kB / 0.7756 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.9652, allocations: 24 kB / 0.7756 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.9669, allocations: 119.7 kB / 0.7757 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.9671, allocations: 69 kB / 0.7758 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.9673, allocations: 47.88 kB / 0.7759 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001728/0.969, allocations: 0.8098 MB / 0.7766 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.58e-07/0.969, allocations: 0 / 0.7766 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002825/0.9719, allocations: 0.8338 MB / 0.7775 GB, free: 12.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/0.9739, allocations: 0.5717 MB / 0.778 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004111/0.978, allocations: 1.612 MB / 0.7796 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.372e-06/0.9781, allocations: 320 / 0.7796 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.9796, allocations: 0.5716 MB / 0.7801 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/0.9844, allocations: 0.8172 MB / 0.7809 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.9928, allocations: 3.995 MB / 0.7848 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.9943, allocations: 1.395 MB / 0.7862 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002896/0.9973, allocations: 455.6 kB / 0.7866 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.9978, allocations: 111.4 kB / 0.7867 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of SimCode: time 1.662e-06/0.9979, allocations: 0 / 0.7867 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.3773/1.375, allocations: 27.73 MB / 0.8138 GB, free: 208.8 MB / 0.573 GB