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.001121/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001283/0.001283, allocations: 195.7 kB / 16.14 MB, free: 6.727 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9452/0.9452, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.53 kB / 0.5047 GB, free: 5.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2011, allocations: 80.92 MB / 0.5837 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002475/0.2036, allocations: 1.31 MB / 0.585 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003462/0.204, allocations: 139.5 kB / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.204, allocations: 4 kB / 0.5851 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.2041, allocations: 4 kB / 0.5851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.2041, allocations: 0 / 0.5851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.2043, allocations: 31.88 kB / 0.5852 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.2044, allocations: 7.938 kB / 0.5852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.2044, allocations: 4 kB / 0.5852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.2045, allocations: 11.94 kB / 0.5852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.2045, allocations: 3.984 kB / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2045, allocations: 4 kB / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2047, allocations: 51.95 kB / 0.5852 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.2047, allocations: 3.984 kB / 0.5852 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.2047, allocations: 7.922 kB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2048, allocations: 35.89 kB / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2048, allocations: 0 / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2048, allocations: 0 / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2049, allocations: 0 / 0.5853 GB, free: 3.32 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.0004069/0.2053, allocations: 339.7 kB / 0.5856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2053, allocations: 8.031 kB / 0.5856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.2053, allocations: 4.938 kB / 0.5856 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2055, allocations: 168.3 kB / 0.5858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2055, allocations: 384 / 0.5858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2055, allocations: 384 / 0.5858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.663e-05/0.2056, allocations: 41.81 kB / 0.5858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2056, allocations: 3.938 kB / 0.5858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2056, allocations: 0 / 0.5858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2057, allocations: 0 / 0.5858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.2057, allocations: 4 kB / 0.5858 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2059, allocations: 161.6 kB / 0.586 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.2059, allocations: 20.23 kB / 0.586 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.206, allocations: 12.92 kB / 0.586 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.2067, allocations: 0.6091 MB / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.2068, allocations: 34.5 kB / 0.5866 GB, free: 1.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2068, allocations: 4 kB / 0.5867 GB, free: 1.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000148/0.2069, allocations: 41.64 kB / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.207, allocations: 55.39 kB / 0.5867 GB, free: 1.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.2071, allocations: 93.86 kB / 0.5868 GB, free: 1.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2071, allocations: 29.7 kB / 0.5869 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.2071, allocations: 84.14 kB / 0.5869 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2072, allocations: 3.906 kB / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2072, allocations: 13.72 kB / 0.587 GB, free: 1.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2073, allocations: 319 kB / 0.5873 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.2073, allocations: 4 kB / 0.5873 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.2074, allocations: 4 kB / 0.5873 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.2074, allocations: 8.859 kB / 0.5873 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2074, allocations: 0 / 0.5873 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.376e-05/0.2075, allocations: 49.58 kB / 0.5873 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2075, allocations: 7.984 kB / 0.5873 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2075, allocations: 4.094 kB / 0.5873 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2075, allocations: 4 kB / 0.5873 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.2076, allocations: 4 kB / 0.5873 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2076, allocations: 0 / 0.5873 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.2076, allocations: 0 / 0.5873 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.2076, allocations: 192 / 0.5873 GB, free: 0.8633 MB / 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.42e-05/0.2077, allocations: 109.8 kB / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.2077, allocations: 11.78 kB / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/0.2078, allocations: 52.73 kB / 0.5875 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2078, allocations: 4.031 kB / 0.5875 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2078, allocations: 0 / 0.5875 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2078, allocations: 0 / 0.5875 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.2079, allocations: 157.6 kB / 0.5877 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2079, allocations: 0 / 0.5877 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.208, allocations: 7.938 kB / 0.5877 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.208, allocations: 0 / 0.5877 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.208, allocations: 0 / 0.5877 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.208, allocations: 4 kB / 0.5877 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.208, allocations: 3.938 kB / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.881e-05/0.2081, allocations: 65.12 kB / 0.5877 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.2081, allocations: 81.05 kB / 0.5878 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2081, allocations: 0 / 0.5878 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.2082, allocations: 4 kB / 0.5878 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.2082, allocations: 0 / 0.5878 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2082, allocations: 3.984 kB / 0.5878 GB, free: 272 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.2082, allocations: 87.22 kB / 0.5879 GB, free: 184 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2082, allocations: 32 / 0.5879 GB, free: 184 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.2084, allocations: 20 kB / 0.5879 GB, free: 164 kB / 494.1 MB 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.0001664/0.2086, allocations: 111.2 kB / 0.588 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.354e-05/0.2087, allocations: 8 kB / 0.588 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2087, allocations: 0 / 0.588 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.2087, allocations: 8 kB / 0.5881 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.209, allocations: 12.77 kB / 0.5881 GB, free: 12 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.2093, allocations: 111.8 kB / 0.5882 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2095, allocations: 0.677 MB / 0.5888 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.2095, allocations: 0 / 0.5888 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.2096, allocations: 11.44 kB / 0.5888 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2096, allocations: 0 / 0.5888 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002625/0.2122, allocations: 0.5858 MB / 0.5894 GB, free: 14.58 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)