Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.271/1.271, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8759/0.8759, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4041/0.5333, allocations: 187.9 MB / 0.7721 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.5391, allocations: 4.027 MB / 0.776 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008195/0.5399, allocations: 15.88 kB / 0.776 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.5411, allocations: 401.8 kB / 0.7764 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.5443, allocations: 1.44 MB / 0.7778 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.5472, allocations: 1.244 MB / 0.779 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002257/0.5494, allocations: 2.358 MB / 0.7813 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009647/0.5504, allocations: 0.8639 MB / 0.7822 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.5516, allocations: 0.8563 MB / 0.783 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009108/0.5525, allocations: 0.8604 MB / 0.7838 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.5526, allocations: 76 kB / 0.7839 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.5549, allocations: 1.566 MB / 0.7854 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.5552, allocations: 338.9 kB / 0.7858 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.5556, allocations: 0.5033 MB / 0.7863 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.5567, allocations: 1.138 MB / 0.7874 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5567, allocations: 0 / 0.7874 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5567, allocations: 0 / 0.7874 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5567, allocations: 0 / 0.7874 GB, free: 0.8633 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002288/0.559, allocations: 1.191 MB / 0.7885 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.559, allocations: 8.031 kB / 0.7885 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.5604, allocations: 234.8 kB / 0.7888 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/0.5612, allocations: 0.5914 MB / 0.7893 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.5612, allocations: 37 kB / 0.7894 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5613, allocations: 52 kB / 0.7894 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5627, allocations: 0.9687 MB / 0.7904 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.5627, allocations: 3.938 kB / 0.7904 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/0.5628, allocations: 24 kB / 0.7904 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.5628, allocations: 31.98 kB / 0.7904 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5643, allocations: 0.9523 MB / 0.7914 GB, free: 12.62 MB / 0.6075 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.004722/0.569, allocations: 4.177 MB / 0.7954 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.5699, allocations: 0.6104 MB / 0.796 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/0.5706, allocations: 0.5214 MB / 0.7965 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009039/0.5715, allocations: 0.8939 MB / 0.7974 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5716, allocations: 39 kB / 0.7975 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001337/0.5729, allocations: 367.1 kB / 0.7978 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.013e-06/0.5729, allocations: 0 / 0.7978 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01662/0.5895, allocations: 3.689 MB / 0.8014 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.5896, allocations: 59.78 kB / 0.8015 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.5904, allocations: 0.7039 MB / 0.8021 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.5905, allocations: 37.69 kB / 0.8022 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.5907, allocations: 320.6 kB / 0.8025 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5908, allocations: 181.4 kB / 0.8027 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.5909, allocations: 41.7 kB / 0.8027 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.591, allocations: 334 kB / 0.803 GB, free: 200 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.5917, allocations: 397 kB / 0.8034 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.5923, allocations: 493.5 kB / 0.8039 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.5937, allocations: 0.9297 MB / 0.8048 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.5937, allocations: 0 / 0.8048 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01073/0.6044, allocations: 2.49 MB / 0.8072 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6045, allocations: 4 kB / 0.8072 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6045, allocations: 4 kB / 0.8072 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008891/0.6134, allocations: 1.546 MB / 0.8087 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.6138, allocations: 95.81 kB / 0.8088 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.6249, allocations: 6.566 MB / 0.8152 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.6257, allocations: 35.89 kB / 0.8153 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.6258, allocations: 43.94 kB / 0.8153 GB, free: 3.266 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003393/0.6261, allocations: 217.6 kB / 0.8155 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.6263, allocations: 82.06 kB / 0.8156 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/0.6313, allocations: 1.675 MB / 0.8172 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6313, allocations: 4 kB / 0.8172 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6313, allocations: 4 kB / 0.8172 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.6313, allocations: 3.984 kB / 0.8172 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/0.6369, allocations: 2.485 MB / 0.8197 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6369, allocations: 7.938 kB / 0.8197 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.6373, allocations: 83.89 kB / 0.8198 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/0.6405, allocations: 0.6692 MB / 0.8204 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.6406, allocations: 19.98 kB / 0.8204 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005943/0.6465, allocations: 4.404 MB / 0.8247 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6465, allocations: 8 kB / 0.8247 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/0.6515, allocations: 2.096 MB / 0.8268 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.6518, allocations: 228 kB / 0.827 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6519, allocations: 12 kB / 0.827 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.6525, allocations: 43.81 kB / 0.8271 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6527, allocations: 56.38 kB / 0.8271 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.6527, allocations: 20 kB / 0.8271 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000567/0.6533, allocations: 0.5029 MB / 0.8276 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6533, allocations: 0 / 0.8276 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008363/0.6542, allocations: 287.8 kB / 0.8279 GB, free: 5.941 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/0.6546, allocations: 219.4 kB / 0.8281 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003114/0.6577, allocations: 1.425 MB / 0.8295 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6577, allocations: 0 / 0.8295 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.6594, allocations: 0.8921 MB / 0.8304 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.6616, allocations: 441.2 kB / 0.8308 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.6642, allocations: 2.083 MB / 0.8328 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.6648, allocations: 0.9789 MB / 0.8338 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.665, allocations: 75.41 kB / 0.8338 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.665, allocations: 0 / 0.8338 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.02291/0.6879, allocations: 19.17 MB / 0.8526 GB, free: 12.71 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)