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.001247/0.001247, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001281/0.001281, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7843/0.7843, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.89 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3131, allocations: 80.93 MB / 0.5851 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4935/0.8067, allocations: 192.6 MB / 0.7731 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005201/0.8119, allocations: 4.017 MB / 0.7771 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000824/0.8128, allocations: 22.97 kB / 0.7771 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.8139, allocations: 475 kB / 0.7775 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.8172, allocations: 1.53 MB / 0.779 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.8205, allocations: 1.349 MB / 0.7804 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.8233, allocations: 1.631 MB / 0.7819 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.8245, allocations: 0.9638 MB / 0.7829 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.8263, allocations: 0.9156 MB / 0.7838 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.8274, allocations: 0.8463 MB / 0.7846 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.8276, allocations: 99.45 kB / 0.7847 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.83, allocations: 1.306 MB / 0.786 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.8304, allocations: 351.2 kB / 0.7863 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.831, allocations: 0.5111 MB / 0.7868 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.8332, allocations: 1.618 MB / 0.7884 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8332, allocations: 3.062 kB / 0.7884 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8333, allocations: 3.188 kB / 0.7884 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.8333, allocations: 0.9062 kB / 0.7884 GB, free: 1.262 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.002708/0.836, allocations: 1.448 MB / 0.7898 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.836, allocations: 13.62 kB / 0.7898 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.8374, allocations: 247.1 kB / 0.7901 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.8382, allocations: 0.5859 MB / 0.7906 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.8382, allocations: 39.75 kB / 0.7907 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8383, allocations: 47.59 kB / 0.7907 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8395, allocations: 0.9635 MB / 0.7917 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.8396, allocations: 6.688 kB / 0.7917 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.8397, allocations: 19.84 kB / 0.7917 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.8397, allocations: 33.41 kB / 0.7917 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.841, allocations: 0.9402 MB / 0.7926 GB, free: 15.99 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.005009/0.846, allocations: 4.268 MB / 0.7968 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.8468, allocations: 0.6013 MB / 0.7974 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.8475, allocations: 0.5127 MB / 0.7979 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.8486, allocations: 0.8779 MB / 0.7987 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.8486, allocations: 37.16 kB / 0.7988 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00142/0.85, allocations: 417.8 kB / 0.7992 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 6.041e-06/0.8501, allocations: 3.984 kB / 0.7992 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01671/0.8668, allocations: 3.844 MB / 0.8029 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.8669, allocations: 56.88 kB / 0.803 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.8677, allocations: 0.7123 MB / 0.8037 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.8679, allocations: 34.42 kB / 0.8037 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.8681, allocations: 323.8 kB / 0.804 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.8683, allocations: 170.1 kB / 0.8042 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.8686, allocations: 159.1 kB / 0.8043 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8687, allocations: 320.2 kB / 0.8046 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.8693, allocations: 398.8 kB / 0.805 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.8699, allocations: 492.1 kB / 0.8055 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.8712, allocations: 0.9154 MB / 0.8064 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8712, allocations: 0 / 0.8064 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01074/0.882, allocations: 2.56 MB / 0.8089 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.882, allocations: 6.875 kB / 0.8089 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.882, allocations: 7.281 kB / 0.8089 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00905/0.8911, allocations: 1.735 MB / 0.8106 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.8916, allocations: 95.09 kB / 0.8107 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.9037, allocations: 7.153 MB / 0.8177 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.9046, allocations: 17.42 kB / 0.8177 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.9047, allocations: 45.22 kB / 0.8177 GB, free: 7.266 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.0004019/0.9051, allocations: 214.9 kB / 0.8179 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.9053, allocations: 82.47 kB / 0.818 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.9101, allocations: 1.738 MB / 0.8197 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9102, allocations: 16.25 kB / 0.8197 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9102, allocations: 2.656 kB / 0.8197 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.9102, allocations: 5.188 kB / 0.8197 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/0.9157, allocations: 2.544 MB / 0.8222 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9158, allocations: 2.938 kB / 0.8222 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.9162, allocations: 90.62 kB / 0.8223 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/0.9195, allocations: 0.8049 MB / 0.8231 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.9196, allocations: 12.06 kB / 0.8231 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/0.9264, allocations: 4.87 MB / 0.8279 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9264, allocations: 2.531 kB / 0.8279 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.9316, allocations: 2.146 MB / 0.83 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/0.9321, allocations: 232 kB / 0.8302 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.9323, allocations: 15.98 kB / 0.8302 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.9329, allocations: 23.98 kB / 0.8302 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.9331, allocations: 52.44 kB / 0.8303 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.9331, allocations: 23.09 kB / 0.8303 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006729/0.9338, allocations: 0.4951 MB / 0.8308 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9338, allocations: 0 / 0.8308 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009673/0.9348, allocations: 291.8 kB / 0.8311 GB, free: 15.01 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.0005073/0.9353, allocations: 213.5 kB / 0.8313 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.939, allocations: 1.522 MB / 0.8327 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.939, allocations: 0 / 0.8327 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.9409, allocations: 0.9128 MB / 0.8336 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.943, allocations: 466.8 kB / 0.8341 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.9459, allocations: 1.773 MB / 0.8358 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.9465, allocations: 0.9828 MB / 0.8368 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.9468, allocations: 71.41 kB / 0.8368 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.9468, allocations: 0 / 0.8368 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.02529/0.9721, allocations: 19.28 MB / 0.8557 GB, free: 5.914 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)