Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001606/0.001606, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9668/0.9668, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 68.34 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00245/0.1766, allocations: 1.314 MB / 0.5858 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.1769, allocations: 133.2 kB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.1769, allocations: 0 / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.177, allocations: 3.938 kB / 0.5859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.1771, allocations: 3.938 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1773, allocations: 35.89 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.1773, allocations: 15.92 kB / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1774, allocations: 0 / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.211e-05/0.1774, allocations: 8 kB / 0.586 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.1775, allocations: 15.92 kB / 0.586 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1775, allocations: 0 / 0.586 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1776, allocations: 47.95 kB / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1776, allocations: 3.984 kB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.1776, allocations: 7.938 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.1777, allocations: 31.94 kB / 0.5861 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1778, allocations: 4 kB / 0.5861 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1778, allocations: 0 / 0.5861 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1778, allocations: 0 / 0.5861 GB, free: 2.691 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004085/0.1782, allocations: 339.7 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1782, allocations: 12.03 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1783, allocations: 0.9375 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1784, allocations: 160.4 kB / 0.5866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1784, allocations: 4.312 kB / 0.5866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1785, allocations: 8.359 kB / 0.5866 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.1785, allocations: 37.81 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1786, allocations: 0 / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1786, allocations: 4 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1786, allocations: 4 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.1786, allocations: 4 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1788, allocations: 149.7 kB / 0.5868 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.802e-05/0.1789, allocations: 26.55 kB / 0.5868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.1789, allocations: 12.8 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/0.1796, allocations: 0.6091 MB / 0.5874 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1797, allocations: 38.5 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1797, allocations: 0 / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.1798, allocations: 41.7 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1799, allocations: 55.39 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.1799, allocations: 93.86 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.18, allocations: 25.7 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.18, allocations: 84.14 kB / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.18, allocations: 8.031 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1801, allocations: 13.72 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1802, allocations: 318.8 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.1802, allocations: 8 kB / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.1802, allocations: 0 / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.1803, allocations: 12.86 kB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1803, allocations: 3.938 kB / 0.5881 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.066e-05/0.1803, allocations: 45.62 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1804, allocations: 8.094 kB / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1804, allocations: 0 / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1804, allocations: 4 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.1804, allocations: 0 / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1805, allocations: 3.938 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.853e-05/0.1805, allocations: 7.906 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1805, allocations: 0 / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.1806, allocations: 105.8 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1806, allocations: 3.938 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.151e-05/0.1807, allocations: 52.81 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1807, allocations: 0 / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1807, allocations: 0 / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1807, allocations: 0 / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1808, allocations: 161.6 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1808, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.1809, allocations: 7.938 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1809, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1809, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1809, allocations: 3.938 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1809, allocations: 7.969 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.181, allocations: 65.12 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.181, allocations: 81.05 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.1811, allocations: 0 / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.1811, allocations: 0 / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.1811, allocations: 3.984 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1811, allocations: 4 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.1811, allocations: 87.48 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1811, allocations: 0 / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000184/0.1813, allocations: 16 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.1815, allocations: 111.2 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.513e-05/0.1816, allocations: 7.938 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1816, allocations: 0 / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.1816, allocations: 8 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1818, allocations: 12.11 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.1821, allocations: 121.9 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1824, allocations: 0.6729 MB / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1825, allocations: 4 kB / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.1825, allocations: 11.38 kB / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1825, allocations: 4 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002755/0.1853, allocations: 0.5958 MB / 0.5902 GB, free: 13.94 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)