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.0008509/0.0008509, allocations: 99.86 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.0008345/0.0008346, allocations: 177.3 kB / 15.94 MB, free: 228 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.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8112/0.8112, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 82.32 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4303/0.5839, allocations: 159.8 MB / 0.7432 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006758/0.5907, allocations: 4.069 MB / 0.7472 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008756/0.5916, allocations: 15.88 kB / 0.7472 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.593, allocations: 414.9 kB / 0.7476 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.5973, allocations: 1.476 MB / 0.7491 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.599, allocations: 0.6399 MB / 0.7497 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.6008, allocations: 0.9922 MB / 0.7506 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.6018, allocations: 0.8303 MB / 0.7515 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.6036, allocations: 0.9622 MB / 0.7524 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.6044, allocations: 0.6621 MB / 0.753 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.6045, allocations: 72 kB / 0.7531 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.6063, allocations: 0.6709 MB / 0.7538 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.6066, allocations: 315.1 kB / 0.7541 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.6067, allocations: 177.3 kB / 0.7542 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.6079, allocations: 1.029 MB / 0.7552 GB, free: 452 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6079, allocations: 0 / 0.7552 GB, free: 452 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6079, allocations: 4 kB / 0.7552 GB, free: 448 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6079, allocations: 0 / 0.7552 GB, free: 448 kB / 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.00245/0.6104, allocations: 1.18 MB / 0.7564 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6104, allocations: 8.031 kB / 0.7564 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.6119, allocations: 246.7 kB / 0.7566 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.6128, allocations: 0.557 MB / 0.7572 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6128, allocations: 42.88 kB / 0.7572 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.6129, allocations: 59.84 kB / 0.7573 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.6143, allocations: 0.9686 MB / 0.7582 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.6144, allocations: 3.938 kB / 0.7582 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.6145, allocations: 24 kB / 0.7583 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.6145, allocations: 23.98 kB / 0.7583 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.6159, allocations: 0.9523 MB / 0.7592 GB, free: 12.23 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.004916/0.6209, allocations: 4.167 MB / 0.7633 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.6218, allocations: 0.6241 MB / 0.7639 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009809/0.6228, allocations: 0.7121 MB / 0.7646 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.6229, allocations: 39 kB / 0.7646 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001371/0.6243, allocations: 355.2 kB / 0.765 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=50): time 2.605e-06/0.6243, allocations: 0 / 0.765 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=50): time 0.01631/0.6406, allocations: 3.678 MB / 0.7686 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.6407, allocations: 59.78 kB / 0.7686 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/0.6417, allocations: 0.7039 MB / 0.7693 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/0.6417, allocations: 37.7 kB / 0.7693 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.642, allocations: 324.6 kB / 0.7696 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.6422, allocations: 177.4 kB / 0.7698 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.6422, allocations: 12 kB / 0.7698 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6424, allocations: 326 kB / 0.7701 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.643, allocations: 396.9 kB / 0.7705 GB, free: 228 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.6437, allocations: 489.6 kB / 0.771 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.6444, allocations: 448.6 kB / 0.7714 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6444, allocations: 0 / 0.7714 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01045/0.6549, allocations: 2.478 MB / 0.7738 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.6549, allocations: 12.12 kB / 0.7738 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6549, allocations: 3.984 kB / 0.7738 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008608/0.6636, allocations: 1.538 MB / 0.7753 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.6641, allocations: 95.86 kB / 0.7754 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.6761, allocations: 6.701 MB / 0.782 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.6771, allocations: 31.97 kB / 0.782 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.6772, allocations: 51.86 kB / 0.7821 GB, free: 4.07 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.0003635/0.6775, allocations: 205.8 kB / 0.7823 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6777, allocations: 86.97 kB / 0.7823 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/0.6825, allocations: 1.667 MB / 0.784 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6825, allocations: 8 kB / 0.784 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6825, allocations: 4 kB / 0.784 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6825, allocations: 7.984 kB / 0.784 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.6882, allocations: 2.477 MB / 0.7864 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6883, allocations: 0 / 0.7864 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.6887, allocations: 95.83 kB / 0.7865 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.6918, allocations: 0.6655 MB / 0.7871 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.6919, allocations: 16 kB / 0.7872 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/0.6984, allocations: 4.506 MB / 0.7916 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6985, allocations: 7.953 kB / 0.7916 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.7036, allocations: 2.154 MB / 0.7937 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.7042, allocations: 235.9 kB / 0.7939 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.7043, allocations: 12.09 kB / 0.7939 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.7049, allocations: 35.97 kB / 0.7939 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.7051, allocations: 52.44 kB / 0.794 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.7052, allocations: 20 kB / 0.794 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006442/0.7058, allocations: 0.4951 MB / 0.7945 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7058, allocations: 4 kB / 0.7945 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001016/0.7068, allocations: 283.8 kB / 0.7948 GB, free: 6.586 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.0004991/0.7073, allocations: 228.7 kB / 0.795 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002997/0.7103, allocations: 1.39 MB / 0.7963 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7104, allocations: 0 / 0.7963 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.7122, allocations: 0.8874 MB / 0.7972 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7141, allocations: 436.6 kB / 0.7976 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.7169, allocations: 1.97 MB / 0.7996 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.7175, allocations: 0.9984 MB / 0.8005 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006276/0.7181, allocations: 162.6 kB / 0.8007 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.7184, allocations: 71.41 kB / 0.8008 GB, free: 380 kB / 0.6075 GB Notification: Performance of SimCode: time 7.62e-07/0.7184, allocations: 7.938 kB / 0.8008 GB, free: 372 kB / 0.6075 GB Notification: Performance of Templates: time 0.03509/0.7535, allocations: 20.81 MB / 0.8211 GB, free: 11.79 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: