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.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 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.002114/0.002114, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9698/0.9698, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.19 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1829, allocations: 80.92 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5717/0.7546, allocations: 192.6 MB / 0.7725 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.7619, allocations: 4.004 MB / 0.7764 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009667/0.7629, allocations: 19.88 kB / 0.7764 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.7643, allocations: 477 kB / 0.7769 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.7685, allocations: 1.528 MB / 0.7783 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.7721, allocations: 1.351 MB / 0.7797 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.7746, allocations: 1.637 MB / 0.7813 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.7759, allocations: 0.9548 MB / 0.7822 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.7774, allocations: 0.915 MB / 0.7831 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.7786, allocations: 0.8566 MB / 0.7839 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.7788, allocations: 96 kB / 0.784 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.7817, allocations: 1.301 MB / 0.7853 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.7821, allocations: 351 kB / 0.7856 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006093/0.7827, allocations: 0.5133 MB / 0.7861 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.7853, allocations: 1.624 MB / 0.7877 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7854, allocations: 0 / 0.7877 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7854, allocations: 0 / 0.7877 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.7854, allocations: 4 kB / 0.7877 GB, free: 12.61 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.003114/0.7885, allocations: 1.46 MB / 0.7891 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7886, allocations: 8.031 kB / 0.7891 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.7901, allocations: 242.7 kB / 0.7894 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.791, allocations: 0.5798 MB / 0.7899 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.791, allocations: 40.98 kB / 0.79 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.7911, allocations: 56 kB / 0.79 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.7926, allocations: 0.957 MB / 0.791 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.7927, allocations: 7.938 kB / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.7927, allocations: 20 kB / 0.791 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.7928, allocations: 35.98 kB / 0.791 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.7944, allocations: 0.9367 MB / 0.7919 GB, free: 8.113 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.005864/0.8003, allocations: 4.263 MB / 0.7961 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.8013, allocations: 0.5939 MB / 0.7967 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.8022, allocations: 0.5219 MB / 0.7972 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.8033, allocations: 0.8744 MB / 0.7981 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8033, allocations: 42.94 kB / 0.7981 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001646/0.805, allocations: 415.2 kB / 0.7985 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.915e-06/0.805, allocations: 0 / 0.7985 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01901/0.824, allocations: 3.837 MB / 0.8022 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.8241, allocations: 67.72 kB / 0.8023 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.8255, allocations: 0.7078 MB / 0.803 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.8258, allocations: 33.7 kB / 0.803 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.8261, allocations: 320.6 kB / 0.8033 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.8263, allocations: 173.5 kB / 0.8035 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.8266, allocations: 150 kB / 0.8036 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.8268, allocations: 326 kB / 0.804 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.8275, allocations: 400.9 kB / 0.8043 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.8283, allocations: 488.6 kB / 0.8048 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.8299, allocations: 0.9219 MB / 0.8057 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8299, allocations: 4 kB / 0.8057 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01175/0.8417, allocations: 2.552 MB / 0.8082 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.8417, allocations: 4 kB / 0.8082 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8418, allocations: 4 kB / 0.8082 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009729/0.8515, allocations: 1.734 MB / 0.8099 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.852, allocations: 91.81 kB / 0.81 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.865, allocations: 7.151 MB / 0.817 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/0.866, allocations: 22.17 kB / 0.817 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.8661, allocations: 47.94 kB / 0.817 GB, free: 13.58 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.00044/0.8666, allocations: 217.8 kB / 0.8172 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.8669, allocations: 86.91 kB / 0.8173 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.8721, allocations: 1.732 MB / 0.819 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.8722, allocations: 8 kB / 0.819 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.8722, allocations: 4 kB / 0.819 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.8722, allocations: 3.984 kB / 0.819 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.8783, allocations: 2.548 MB / 0.8215 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.8784, allocations: 3.984 kB / 0.8215 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.8788, allocations: 91.83 kB / 0.8216 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.8823, allocations: 0.7989 MB / 0.8224 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.8824, allocations: 15.56 kB / 0.8224 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/0.8898, allocations: 4.867 MB / 0.8272 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8899, allocations: 0 / 0.8272 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/0.8961, allocations: 2.147 MB / 0.8293 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.8967, allocations: 232 kB / 0.8295 GB, free: 404 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.897, allocations: 15.98 kB / 0.8295 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.8978, allocations: 23.98 kB / 0.8295 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.898, allocations: 56.38 kB / 0.8296 GB, free: 308 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.8981, allocations: 20 kB / 0.8296 GB, free: 288 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008063/0.8989, allocations: 0.499 MB / 0.8301 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8989, allocations: 0 / 0.8301 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00119/0.9001, allocations: 287.8 kB / 0.8304 GB, free: 15.5 MB / 0.6544 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.0005884/0.9007, allocations: 222.7 kB / 0.8306 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.9046, allocations: 1.514 MB / 0.832 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9046, allocations: 4 kB / 0.832 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.9065, allocations: 0.9223 MB / 0.8329 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.9087, allocations: 456.1 kB / 0.8334 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.9118, allocations: 1.718 MB / 0.8351 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.9124, allocations: 0.9867 MB / 0.836 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006953/0.9131, allocations: 162.6 kB / 0.8362 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.9134, allocations: 75.36 kB / 0.8363 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.9134, allocations: 0 / 0.8363 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of Templates: time 0.03697/0.9503, allocations: 22.63 MB / 0.8583 GB, free: 3.004 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)