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.001678/0.001678, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001624/0.001624, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9544/0.9544, allocations: 135.6 MB / 425.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 64.33 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.157, allocations: 81.02 MB / 0.5845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.463/0.62, allocations: 190.1 MB / 0.7702 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007321/0.6274, allocations: 3.996 MB / 0.7741 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.6286, allocations: 19.88 kB / 0.7741 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.6301, allocations: 417.8 kB / 0.7745 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.6342, allocations: 1.435 MB / 0.7759 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.6377, allocations: 1.253 MB / 0.7771 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.6403, allocations: 1.656 MB / 0.7787 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.6419, allocations: 0.939 MB / 0.7796 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.6442, allocations: 0.9384 MB / 0.7806 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.6455, allocations: 0.8761 MB / 0.7814 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.6457, allocations: 96 kB / 0.7815 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.6485, allocations: 1.364 MB / 0.7828 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.649, allocations: 359 kB / 0.7832 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006475/0.6496, allocations: 0.5133 MB / 0.7837 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.6526, allocations: 1.733 MB / 0.7854 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6526, allocations: 0 / 0.7854 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6527, allocations: 3.938 kB / 0.7854 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.6527, allocations: 0 / 0.7854 GB, free: 14.69 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.003629/0.6563, allocations: 1.448 MB / 0.7868 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6564, allocations: 12.02 kB / 0.7868 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.6581, allocations: 238.7 kB / 0.787 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6591, allocations: 0.5876 MB / 0.7876 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.6592, allocations: 37 kB / 0.7876 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.6593, allocations: 56 kB / 0.7877 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.661, allocations: 0.9608 MB / 0.7886 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.6611, allocations: 11.12 kB / 0.7886 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.6612, allocations: 16 kB / 0.7887 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.6612, allocations: 35.98 kB / 0.7887 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.6629, allocations: 0.9406 MB / 0.7896 GB, free: 10.2 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.00632/0.6693, allocations: 4.257 MB / 0.7938 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.6704, allocations: 0.5939 MB / 0.7944 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.6712, allocations: 0.5182 MB / 0.7949 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.6725, allocations: 0.8783 MB / 0.7957 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.6725, allocations: 35 kB / 0.7957 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001839/0.6744, allocations: 455.2 kB / 0.7962 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 6.733e-06/0.6744, allocations: 0 / 0.7962 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01799/0.6924, allocations: 3.841 MB / 0.7999 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6925, allocations: 63.78 kB / 0.8 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.6937, allocations: 0.7078 MB / 0.8007 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.6939, allocations: 33.7 kB / 0.8007 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.6942, allocations: 320.6 kB / 0.801 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.6944, allocations: 181.4 kB / 0.8012 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.6947, allocations: 150.1 kB / 0.8013 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6949, allocations: 322 kB / 0.8016 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/0.6956, allocations: 392.9 kB / 0.802 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/0.6964, allocations: 493.5 kB / 0.8025 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6981, allocations: 0.918 MB / 0.8034 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6981, allocations: 0 / 0.8034 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01191/0.71, allocations: 2.564 MB / 0.8059 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.7101, allocations: 4 kB / 0.8059 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.7101, allocations: 8.125 kB / 0.8059 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.7202, allocations: 1.734 MB / 0.8076 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.7208, allocations: 91.8 kB / 0.8077 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.7348, allocations: 7.157 MB / 0.8147 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.7358, allocations: 33.83 kB / 0.8147 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.7361, allocations: 51.88 kB / 0.8148 GB, free: 15.61 MB / 0.6387 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.0005621/0.7366, allocations: 209.7 kB / 0.815 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.737, allocations: 79.06 kB / 0.815 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.7427, allocations: 1.737 MB / 0.8167 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7427, allocations: 8 kB / 0.8167 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.7427, allocations: 8 kB / 0.8167 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.7427, allocations: 3.984 kB / 0.8167 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006883/0.7496, allocations: 2.532 MB / 0.8192 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.7497, allocations: 8.188 kB / 0.8192 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.7502, allocations: 91.88 kB / 0.8193 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/0.7537, allocations: 0.8021 MB / 0.8201 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/0.7538, allocations: 16 kB / 0.8201 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007942/0.7618, allocations: 4.852 MB / 0.8249 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.7618, allocations: 7.984 kB / 0.8249 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005929/0.7678, allocations: 2.147 MB / 0.827 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.7684, allocations: 239.9 kB / 0.8272 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.7687, allocations: 15.98 kB / 0.8272 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.7695, allocations: 27.98 kB / 0.8272 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.7697, allocations: 52.44 kB / 0.8273 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.7698, allocations: 23.98 kB / 0.8273 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008095/0.7706, allocations: 0.499 MB / 0.8278 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7706, allocations: 0 / 0.8278 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001266/0.7719, allocations: 283.8 kB / 0.8281 GB, free: 1.543 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.0006896/0.7726, allocations: 228.3 kB / 0.8283 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004158/0.7768, allocations: 1.519 MB / 0.8298 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7768, allocations: 256 / 0.8298 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.7788, allocations: 0.9184 MB / 0.8307 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.7812, allocations: 455 kB / 0.8311 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.7845, allocations: 1.966 MB / 0.833 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.7852, allocations: 0.9789 MB / 0.834 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007001/0.786, allocations: 162.6 kB / 0.8341 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.7862, allocations: 63.42 kB / 0.8342 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.7862, allocations: 0 / 0.8342 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.04086/0.8271, allocations: 22.63 MB / 0.8563 GB, free: 4.805 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)