Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001771/0.00177, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002085/0.002085, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003684, allocations: 12 kB / 0.5068 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1871, allocations: 82.31 MB / 0.5872 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.566/0.7532, allocations: 159.8 MB / 0.7432 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007279/0.7605, allocations: 4.072 MB / 0.7472 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.7616, allocations: 15.88 kB / 0.7472 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.7631, allocations: 415 kB / 0.7476 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.768, allocations: 1.476 MB / 0.7491 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.7701, allocations: 0.6347 MB / 0.7497 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.7721, allocations: 1 MB / 0.7507 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.7735, allocations: 0.826 MB / 0.7515 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.7765, allocations: 0.9622 MB / 0.7524 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.7781, allocations: 0.6582 MB / 0.753 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.7785, allocations: 75.94 kB / 0.7531 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.7808, allocations: 0.6748 MB / 0.7538 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005448/0.7813, allocations: 311.2 kB / 0.7541 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.7818, allocations: 177.3 kB / 0.7542 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.7836, allocations: 1.037 MB / 0.7553 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7836, allocations: 0 / 0.7553 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7836, allocations: 0 / 0.7553 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.7837, allocations: 0 / 0.7553 GB, free: 0.5352 MB / 0.5606 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.003125/0.7868, allocations: 1.172 MB / 0.7564 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7869, allocations: 12.03 kB / 0.7564 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.7886, allocations: 246.7 kB / 0.7566 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.7898, allocations: 0.5608 MB / 0.7572 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.7898, allocations: 37 kB / 0.7572 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.79, allocations: 48 kB / 0.7573 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.7915, allocations: 0.9687 MB / 0.7582 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.7915, allocations: 7.906 kB / 0.7582 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.7916, allocations: 20.75 kB / 0.7582 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.7917, allocations: 31.94 kB / 0.7583 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.7931, allocations: 0.9485 MB / 0.7592 GB, free: 12.34 MB / 0.5762 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.005114/0.7983, allocations: 4.178 MB / 0.7633 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000908/0.7992, allocations: 0.6115 MB / 0.7639 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007884/0.8, allocations: 0.7198 MB / 0.7646 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.8, allocations: 43 kB / 0.7646 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001412/0.8014, allocations: 347.2 kB / 0.765 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=50): time 6.081e-06/0.8015, allocations: 0 / 0.765 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=50): time 0.01683/0.8183, allocations: 3.69 MB / 0.7686 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.8184, allocations: 59.83 kB / 0.7686 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.8195, allocations: 0.6961 MB / 0.7693 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.8196, allocations: 37.7 kB / 0.7693 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.8199, allocations: 324.5 kB / 0.7696 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.8201, allocations: 173.4 kB / 0.7698 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.8201, allocations: 12 kB / 0.7698 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8203, allocations: 326 kB / 0.7701 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.821, allocations: 400.9 kB / 0.7705 GB, free: 332 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/0.8217, allocations: 493.5 kB / 0.771 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007628/0.8225, allocations: 448.6 kB / 0.7714 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.8225, allocations: 4.031 kB / 0.7714 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01086/0.8334, allocations: 2.477 MB / 0.7738 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.8334, allocations: 4 kB / 0.7738 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.8334, allocations: 4 kB / 0.7738 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009013/0.8425, allocations: 1.549 MB / 0.7754 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.8431, allocations: 91.88 kB / 0.7754 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.8554, allocations: 6.697 MB / 0.782 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.8566, allocations: 31.16 kB / 0.782 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.8567, allocations: 51.92 kB / 0.7821 GB, free: 4.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005485/0.8573, allocations: 209.7 kB / 0.7823 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.8576, allocations: 82.97 kB / 0.7823 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/0.8628, allocations: 1.675 MB / 0.784 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.8628, allocations: 8 kB / 0.784 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.8628, allocations: 7.938 kB / 0.784 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.8629, allocations: 3.984 kB / 0.784 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/0.8691, allocations: 2.477 MB / 0.7864 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8692, allocations: 0 / 0.7864 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.8696, allocations: 91.89 kB / 0.7865 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/0.8728, allocations: 0.6612 MB / 0.7871 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.8729, allocations: 16 kB / 0.7872 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006611/0.8795, allocations: 4.502 MB / 0.7916 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8795, allocations: 8.141 kB / 0.7916 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/0.8848, allocations: 2.161 MB / 0.7937 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/0.8854, allocations: 235.9 kB / 0.7939 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.8856, allocations: 15.98 kB / 0.7939 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007103/0.8864, allocations: 27.98 kB / 0.7939 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.8865, allocations: 64.33 kB / 0.794 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.8866, allocations: 23.98 kB / 0.794 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000724/0.8873, allocations: 499 kB / 0.7945 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8873, allocations: 0 / 0.7945 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001225/0.8886, allocations: 283.8 kB / 0.7948 GB, free: 6.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006225/0.8892, allocations: 220.7 kB / 0.795 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.8926, allocations: 1.39 MB / 0.7963 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8926, allocations: 0 / 0.7963 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.8945, allocations: 0.8874 MB / 0.7972 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.8967, allocations: 440.1 kB / 0.7976 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.9001, allocations: 1.976 MB / 0.7996 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.9008, allocations: 0.9984 MB / 0.8005 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007877/0.9016, allocations: 166.6 kB / 0.8007 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.9018, allocations: 67.41 kB / 0.8008 GB, free: 480 kB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.9019, allocations: 0 / 0.8008 GB, free: 480 kB / 0.6075 GB Notification: Performance of Templates: time 0.03939/0.9413, allocations: 20.82 MB / 0.8211 GB, free: 11.88 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: