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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183.2 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.881/0.881, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 404.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 111.4 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009547/0.0009547, allocations: 51.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1068, allocations: 80.42 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.419/0.5258, allocations: 190.4 MB / 0.8281 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005601/0.5314, allocations: 4.048 MB / 0.832 GB, free: 14.61 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004631/0.5319, allocations: 23.81 kB / 0.832 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5329, allocations: 397.9 kB / 0.8324 GB, free: 14.2 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.5357, allocations: 1.448 MB / 0.8338 GB, free: 12.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.5385, allocations: 1.241 MB / 0.835 GB, free: 11.51 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.5407, allocations: 2.374 MB / 0.8374 GB, free: 9.129 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009732/0.5417, allocations: 0.8677 MB / 0.8382 GB, free: 8.246 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.5429, allocations: 0.8681 MB / 0.839 GB, free: 7.375 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.544, allocations: 0.8799 MB / 0.8399 GB, free: 6.492 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.5441, allocations: 84 kB / 0.84 GB, free: 6.41 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.5465, allocations: 1.57 MB / 0.8415 GB, free: 4.836 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.5468, allocations: 339 kB / 0.8418 GB, free: 4.504 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.5473, allocations: 0.4977 MB / 0.8423 GB, free: 4.004 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.5492, allocations: 1.702 MB / 0.844 GB, free: 2.297 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5492, allocations: 0 / 0.844 GB, free: 2.297 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5492, allocations: 0 / 0.844 GB, free: 2.297 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.5492, allocations: 3.938 kB / 0.844 GB, free: 2.293 MB / 0.573 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.002865/0.5521, allocations: 1.437 MB / 0.8454 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5521, allocations: 11.97 kB / 0.8454 GB, free: 0.793 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.5536, allocations: 247.5 kB / 0.8456 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.5544, allocations: 0.5954 MB / 0.8462 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.5545, allocations: 37 kB / 0.8463 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5546, allocations: 55.97 kB / 0.8463 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.556, allocations: 0.957 MB / 0.8473 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5561, allocations: 3.938 kB / 0.8473 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.5561, allocations: 24 kB / 0.8473 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.5562, allocations: 31.92 kB / 0.8473 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5577, allocations: 0.9406 MB / 0.8482 GB, free: 13.79 MB / 0.5886 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.005187/0.5629, allocations: 4.262 MB / 0.8524 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/0.5639, allocations: 0.5939 MB / 0.853 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/0.5647, allocations: 0.5214 MB / 0.8535 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009656/0.5657, allocations: 0.8744 MB / 0.8543 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5657, allocations: 39 kB / 0.8544 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001699/0.5674, allocations: 435.1 kB / 0.8548 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=50): time 4.979e-06/0.5675, allocations: 0 / 0.8548 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50): time 0.01823/0.5857, allocations: 3.845 MB / 0.8585 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5858, allocations: 59.78 kB / 0.8586 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008871/0.5867, allocations: 0.7078 MB / 0.8593 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.718e-05/0.5867, allocations: 33.7 kB / 0.8593 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.587, allocations: 324.6 kB / 0.8596 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.5871, allocations: 181.4 kB / 0.8598 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.5874, allocations: 146.1 kB / 0.8599 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.5875, allocations: 322 kB / 0.8602 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.5881, allocations: 396.9 kB / 0.8606 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.5889, allocations: 489.5 kB / 0.8611 GB, free: 108 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.5903, allocations: 0.9258 MB / 0.862 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5903, allocations: 0 / 0.862 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01153/0.6018, allocations: 2.556 MB / 0.8645 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6019, allocations: 5.562 kB / 0.8645 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6019, allocations: 4 kB / 0.8645 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009744/0.6116, allocations: 1.734 MB / 0.8662 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.6121, allocations: 95.8 kB / 0.8663 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.624, allocations: 6.643 MB / 0.8728 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.6248, allocations: 35.89 kB / 0.8728 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.6249, allocations: 51.92 kB / 0.8729 GB, free: 3.73 MB / 0.6042 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.0003741/0.6253, allocations: 209.6 kB / 0.8731 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.6255, allocations: 79.06 kB / 0.8731 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/0.6307, allocations: 1.745 MB / 0.8748 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6307, allocations: 11.98 kB / 0.8748 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6307, allocations: 7.984 kB / 0.8749 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6307, allocations: 0 / 0.8749 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/0.6367, allocations: 2.536 MB / 0.8773 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6367, allocations: 0 / 0.8773 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.6371, allocations: 91.83 kB / 0.8774 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/0.6406, allocations: 0.8094 MB / 0.8782 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.6407, allocations: 16 kB / 0.8782 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.6469, allocations: 4.483 MB / 0.8826 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6469, allocations: 0 / 0.8826 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/0.656, allocations: 4.987 MB / 0.8875 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.6564, allocations: 231.9 kB / 0.8877 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6565, allocations: 15.98 kB / 0.8877 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/0.6571, allocations: 35.89 kB / 0.8877 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.6573, allocations: 56.38 kB / 0.8878 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.6574, allocations: 23.98 kB / 0.8878 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005581/0.6579, allocations: 0.4951 MB / 0.8883 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6579, allocations: 0 / 0.8883 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001075/0.659, allocations: 367.8 kB / 0.8887 GB, free: 2.93 MB / 0.6198 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.0003977/0.6594, allocations: 222.2 kB / 0.8889 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003331/0.6627, allocations: 1.457 MB / 0.8903 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6628, allocations: 0 / 0.8903 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.6645, allocations: 0.9186 MB / 0.8912 GB, free: 288 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6667, allocations: 442 kB / 0.8916 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.6695, allocations: 2.311 MB / 0.8939 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.67, allocations: 0.9985 MB / 0.8948 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005898/0.6706, allocations: 174.6 kB / 0.895 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.6708, allocations: 67.42 kB / 0.8951 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of SimCode: time 3.7e-07/0.6708, allocations: 3.938 kB / 0.8951 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.03172/0.7025, allocations: 22.54 MB / 0.9171 GB, free: 5.871 MB / 0.6511 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)