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.001281/0.001281, allocations: 107 kB / 16.37 MB, free: 6.477 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.001274/0.001275, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.787/0.787, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.5068 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4153, allocations: 80.91 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6037/1.019, allocations: 192.6 MB / 0.7739 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006805/1.026, allocations: 4.009 MB / 0.7778 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/1.027, allocations: 22.22 kB / 0.7778 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/1.029, allocations: 473.6 kB / 0.7783 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/1.033, allocations: 1.537 MB / 0.7798 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004303/1.037, allocations: 1.357 MB / 0.7811 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004146/1.041, allocations: 1.634 MB / 0.7827 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/1.043, allocations: 0.9538 MB / 0.7836 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/1.045, allocations: 0.9203 MB / 0.7845 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/1.046, allocations: 0.8544 MB / 0.7853 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.046, allocations: 95.62 kB / 0.7854 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/1.05, allocations: 1.307 MB / 0.7867 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/1.05, allocations: 349.6 kB / 0.787 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007288/1.051, allocations: 0.5137 MB / 0.7876 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/1.054, allocations: 1.639 MB / 0.7892 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.054, allocations: 0 / 0.7892 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/1.054, allocations: 0 / 0.7892 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.19e-05/1.055, allocations: 1.031 kB / 0.7892 GB, free: 1.207 MB / 0.5762 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.003212/1.058, allocations: 1.446 MB / 0.7906 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.058, allocations: 15.55 kB / 0.7906 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/1.059, allocations: 237.8 kB / 0.7908 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.06, allocations: 0.61 MB / 0.7914 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/1.06, allocations: 36.38 kB / 0.7914 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.06, allocations: 50.19 kB / 0.7915 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.062, allocations: 0.9594 MB / 0.7924 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.062, allocations: 9.125 kB / 0.7924 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/1.062, allocations: 30.92 kB / 0.7925 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/1.062, allocations: 26.56 kB / 0.7925 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/1.063, allocations: 0.9363 MB / 0.7934 GB, free: 15.95 MB / 0.5919 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.005402/1.069, allocations: 4.265 MB / 0.7976 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/1.07, allocations: 0.5922 MB / 0.7981 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006967/1.071, allocations: 0.5177 MB / 0.7986 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.072, allocations: 0.8743 MB / 0.7995 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.072, allocations: 45.03 kB / 0.7995 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001431/1.073, allocations: 415.3 kB / 0.7999 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 3.858e-06/1.073, allocations: 0.8125 kB / 0.7999 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01636/1.09, allocations: 3.84 MB / 0.8037 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.09, allocations: 59.19 kB / 0.8037 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/1.091, allocations: 0.7117 MB / 0.8044 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/1.091, allocations: 32.7 kB / 0.8045 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.091, allocations: 322.9 kB / 0.8048 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/1.091, allocations: 172.7 kB / 0.8049 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/1.091, allocations: 151 kB / 0.8051 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.092, allocations: 331.6 kB / 0.8054 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.092, allocations: 395.6 kB / 0.8058 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/1.093, allocations: 482.7 kB / 0.8062 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.094, allocations: 0.9262 MB / 0.8071 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.094, allocations: 0.875 kB / 0.8072 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01069/1.105, allocations: 2.559 MB / 0.8096 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/1.105, allocations: 5.281 kB / 0.8097 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.105, allocations: 3.375 kB / 0.8097 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009177/1.114, allocations: 1.732 MB / 0.8113 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/1.115, allocations: 91.53 kB / 0.8114 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.127, allocations: 7.144 MB / 0.8184 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/1.128, allocations: 22.05 kB / 0.8184 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.128, allocations: 45.22 kB / 0.8185 GB, free: 7.211 MB / 0.5919 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.0004147/1.129, allocations: 216.1 kB / 0.8187 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/1.129, allocations: 82 kB / 0.8188 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/1.134, allocations: 1.725 MB / 0.8204 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.134, allocations: 13.97 kB / 0.8205 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.134, allocations: 2.562 kB / 0.8205 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.134, allocations: 6.484 kB / 0.8205 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/1.14, allocations: 2.558 MB / 0.823 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.14, allocations: 0 / 0.823 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/1.141, allocations: 90.53 kB / 0.8231 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.144, allocations: 0.7973 MB / 0.8238 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/1.144, allocations: 14.31 kB / 0.8238 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006458/1.151, allocations: 4.866 MB / 0.8286 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.151, allocations: 2.938 kB / 0.8286 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/1.156, allocations: 2.142 MB / 0.8307 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/1.156, allocations: 236 kB / 0.8309 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.156, allocations: 12 kB / 0.8309 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/1.157, allocations: 23.98 kB / 0.831 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.157, allocations: 51.53 kB / 0.831 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/1.157, allocations: 20 kB / 0.831 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006334/1.158, allocations: 0.5029 MB / 0.8315 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.02e-07/1.158, allocations: 0 / 0.8315 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001006/1.159, allocations: 285 kB / 0.8318 GB, free: 14.92 MB / 0.6075 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.0005016/1.159, allocations: 217.5 kB / 0.832 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003402/1.163, allocations: 1.473 MB / 0.8334 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.163, allocations: 4 kB / 0.8334 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.165, allocations: 0.9117 MB / 0.8343 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.167, allocations: 460.2 kB / 0.8348 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/1.169, allocations: 1.708 MB / 0.8364 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/1.17, allocations: 0.9867 MB / 0.8374 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005419/1.171, allocations: 154.6 kB / 0.8375 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/1.171, allocations: 71.41 kB / 0.8376 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/1.171, allocations: 4 kB / 0.8376 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.03475/1.205, allocations: 22.61 MB / 0.8597 GB, free: 2.602 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)