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.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001455/0.001455, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9506/0.9506, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.3 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1574, allocations: 80.93 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5005/0.6579, allocations: 190.4 MB / 0.7696 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.6652, allocations: 4.051 MB / 0.7736 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.6663, allocations: 15.94 kB / 0.7736 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.6679, allocations: 397.9 kB / 0.774 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.672, allocations: 1.439 MB / 0.7754 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.6756, allocations: 1.243 MB / 0.7766 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003068/0.6787, allocations: 2.362 MB / 0.7789 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.6801, allocations: 0.88 MB / 0.7798 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.682, allocations: 0.8564 MB / 0.7806 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.6835, allocations: 0.8915 MB / 0.7815 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003883/0.6839, allocations: 76 kB / 0.7815 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.6875, allocations: 1.578 MB / 0.7831 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.6882, allocations: 335 kB / 0.7834 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009374/0.6891, allocations: 0.4899 MB / 0.7839 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.6926, allocations: 1.706 MB / 0.7855 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6926, allocations: 0 / 0.7855 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6926, allocations: 0 / 0.7855 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.925e-05/0.6927, allocations: 0 / 0.7855 GB, free: 14.66 MB / 0.6075 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.004261/0.6969, allocations: 1.452 MB / 0.787 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.697, allocations: 8.031 kB / 0.787 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.6988, allocations: 242.7 kB / 0.7872 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.6999, allocations: 0.5837 MB / 0.7878 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.7, allocations: 37 kB / 0.7878 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.7001, allocations: 55.98 kB / 0.7879 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.7018, allocations: 0.9686 MB / 0.7888 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.7018, allocations: 4 kB / 0.7888 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.7019, allocations: 23.81 kB / 0.7888 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.702, allocations: 27.98 kB / 0.7889 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.7036, allocations: 0.9445 MB / 0.7898 GB, free: 10.16 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.006178/0.7098, allocations: 4.247 MB / 0.7939 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.7109, allocations: 0.6016 MB / 0.7945 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.7118, allocations: 0.5195 MB / 0.795 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.7129, allocations: 0.8783 MB / 0.7959 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.713, allocations: 35 kB / 0.7959 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001744/0.7147, allocations: 435.2 kB / 0.7963 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.909e-06/0.7147, allocations: 4 kB / 0.7963 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01845/0.7332, allocations: 3.837 MB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.7333, allocations: 59.78 kB / 0.8001 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.7346, allocations: 0.7117 MB / 0.8008 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.7348, allocations: 33.7 kB / 0.8009 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.7351, allocations: 328.6 kB / 0.8012 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.7354, allocations: 173.5 kB / 0.8013 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.7357, allocations: 154 kB / 0.8015 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7358, allocations: 326 kB / 0.8018 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.7366, allocations: 392.9 kB / 0.8022 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.7374, allocations: 489.5 kB / 0.8026 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.7389, allocations: 0.9219 MB / 0.8035 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7389, allocations: 0 / 0.8035 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01189/0.7508, allocations: 2.564 MB / 0.806 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.7509, allocations: 8 kB / 0.8061 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7509, allocations: 0 / 0.8061 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00998/0.7609, allocations: 1.726 MB / 0.8077 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.7614, allocations: 99.8 kB / 0.8078 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.7744, allocations: 6.651 MB / 0.8143 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7755, allocations: 35.89 kB / 0.8144 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.7757, allocations: 47.92 kB / 0.8144 GB, free: 112 kB / 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.0005383/0.7762, allocations: 209.8 kB / 0.8146 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.7766, allocations: 79.06 kB / 0.8147 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/0.782, allocations: 1.746 MB / 0.8164 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.782, allocations: 4 kB / 0.8164 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.782, allocations: 7.984 kB / 0.8164 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.782, allocations: 0 / 0.8164 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00663/0.7887, allocations: 2.541 MB / 0.8189 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.7887, allocations: 0 / 0.8189 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.7892, allocations: 83.89 kB / 0.819 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003587/0.7928, allocations: 0.8107 MB / 0.8198 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.7928, allocations: 16 kB / 0.8198 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/0.7995, allocations: 4.472 MB / 0.8241 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.7995, allocations: 11.92 kB / 0.8241 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.8049, allocations: 2.155 MB / 0.8263 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.8054, allocations: 231.9 kB / 0.8265 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.8056, allocations: 12 kB / 0.8265 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.8063, allocations: 35.92 kB / 0.8265 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.8065, allocations: 56.42 kB / 0.8266 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.8065, allocations: 16 kB / 0.8266 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007211/0.8072, allocations: 0.499 MB / 0.8271 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8073, allocations: 0 / 0.8271 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001144/0.8084, allocations: 287.8 kB / 0.8273 GB, free: 2.422 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.0005901/0.809, allocations: 223.7 kB / 0.8276 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003857/0.8129, allocations: 1.464 MB / 0.829 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8129, allocations: 0 / 0.829 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.8147, allocations: 0.9109 MB / 0.8299 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.817, allocations: 435.3 kB / 0.8303 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.8204, allocations: 1.977 MB / 0.8322 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.8211, allocations: 0.9789 MB / 0.8332 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006687/0.8217, allocations: 162.6 kB / 0.8333 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.822, allocations: 67.42 kB / 0.8334 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.822, allocations: 3.938 kB / 0.8334 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.03497/0.857, allocations: 21.67 MB / 0.8546 GB, free: 6.688 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)