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.0014/0.0014, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001236/0.001236, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9731/0.9731, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 60 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1527, allocations: 80.94 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4582/0.611, allocations: 190.1 MB / 0.7696 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006054/0.6171, allocations: 3.99 MB / 0.7735 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.6177, allocations: 19.88 kB / 0.7735 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6189, allocations: 417.8 kB / 0.7739 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.6221, allocations: 1.439 MB / 0.7753 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.6251, allocations: 1.259 MB / 0.7765 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.6269, allocations: 1.648 MB / 0.7781 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.628, allocations: 0.9352 MB / 0.779 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.6291, allocations: 0.9422 MB / 0.7799 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000899/0.6301, allocations: 0.8839 MB / 0.7808 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.6302, allocations: 96 kB / 0.7809 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.6324, allocations: 1.364 MB / 0.7822 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.6327, allocations: 355 kB / 0.7826 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.6331, allocations: 0.5094 MB / 0.7831 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.6353, allocations: 1.733 MB / 0.7848 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6353, allocations: 0 / 0.7848 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6353, allocations: 0 / 0.7848 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.6354, allocations: 0 / 0.7848 GB, free: 15.57 MB / 0.6075 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.003018/0.6384, allocations: 1.452 MB / 0.7862 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.6384, allocations: 8.031 kB / 0.7862 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.64, allocations: 242.7 kB / 0.7864 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000799/0.6408, allocations: 0.5915 MB / 0.787 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.6409, allocations: 37 kB / 0.787 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.641, allocations: 48 kB / 0.7871 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.6425, allocations: 0.9648 MB / 0.788 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.6425, allocations: 7.938 kB / 0.788 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.6426, allocations: 20 kB / 0.788 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.6427, allocations: 28.55 kB / 0.7881 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.6442, allocations: 0.9484 MB / 0.789 GB, free: 11.07 MB / 0.6075 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.00539/0.6496, allocations: 4.251 MB / 0.7932 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.6505, allocations: 0.5978 MB / 0.7937 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000762/0.6513, allocations: 0.5252 MB / 0.7942 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.6523, allocations: 0.8783 MB / 0.7951 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6524, allocations: 42.38 kB / 0.7951 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001756/0.6541, allocations: 443.2 kB / 0.7956 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.524e-06/0.6541, allocations: 0 / 0.7956 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01859/0.6727, allocations: 3.841 MB / 0.7993 GB, free: 72 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.6729, allocations: 60.05 kB / 0.7994 GB, free: 16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.6738, allocations: 0.7116 MB / 0.8001 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.674, allocations: 37.7 kB / 0.8001 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.6742, allocations: 320.6 kB / 0.8004 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.6744, allocations: 173.5 kB / 0.8006 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.6746, allocations: 150 kB / 0.8007 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6748, allocations: 322 kB / 0.801 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/0.6754, allocations: 400.9 kB / 0.8014 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.6762, allocations: 481.5 kB / 0.8019 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.6776, allocations: 0.9219 MB / 0.8028 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.6777, allocations: 4 kB / 0.8028 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01199/0.6897, allocations: 2.564 MB / 0.8053 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6897, allocations: 8 kB / 0.8053 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6897, allocations: 0 / 0.8053 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.6998, allocations: 1.741 MB / 0.807 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.7003, allocations: 91.86 kB / 0.8071 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.7134, allocations: 7.145 MB / 0.8141 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/0.7143, allocations: 35.89 kB / 0.8141 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7144, allocations: 51.86 kB / 0.8141 GB, free: 500 kB / 0.6231 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.0004391/0.7149, allocations: 201.8 kB / 0.8143 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.7151, allocations: 79.06 kB / 0.8144 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/0.7204, allocations: 1.74 MB / 0.8161 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.7204, allocations: 11.88 kB / 0.8161 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7204, allocations: 4 kB / 0.8161 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7204, allocations: 3.984 kB / 0.8161 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.7264, allocations: 2.548 MB / 0.8186 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.7264, allocations: 0 / 0.8186 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.7269, allocations: 87.89 kB / 0.8187 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/0.7305, allocations: 0.7983 MB / 0.8195 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.7305, allocations: 19.56 kB / 0.8195 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00676/0.7373, allocations: 4.859 MB / 0.8242 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7373, allocations: 0 / 0.8242 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.7427, allocations: 2.155 MB / 0.8263 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.7432, allocations: 232 kB / 0.8266 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7433, allocations: 12 kB / 0.8266 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.744, allocations: 39.83 kB / 0.8266 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.7442, allocations: 60.31 kB / 0.8267 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.7442, allocations: 19.98 kB / 0.8267 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006108/0.7449, allocations: 0.4951 MB / 0.8272 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7449, allocations: 0 / 0.8272 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009306/0.7458, allocations: 291.8 kB / 0.8275 GB, free: 2.41 MB / 0.6387 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.0004708/0.7463, allocations: 213.9 kB / 0.8277 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003712/0.75, allocations: 1.522 MB / 0.8291 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.75, allocations: 0 / 0.8291 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.7518, allocations: 0.9149 MB / 0.83 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.7538, allocations: 465.2 kB / 0.8305 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.7565, allocations: 1.964 MB / 0.8324 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.7571, allocations: 0.9867 MB / 0.8334 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000609/0.7577, allocations: 166.6 kB / 0.8335 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.7579, allocations: 67.41 kB / 0.8336 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7579, allocations: 0 / 0.8336 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.03341/0.7913, allocations: 22.62 MB / 0.8557 GB, free: 5.676 MB / 0.67 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)