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.0009673/0.0009673, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00687/0.00687, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9618/0.9618, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2039, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00168/0.2056, allocations: 0.9827 MB / 0.5889 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.206, allocations: 127.6 kB / 0.589 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.206, allocations: 0 / 0.589 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.2061, allocations: 3.984 kB / 0.5891 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.2062, allocations: 7.922 kB / 0.5891 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2064, allocations: 31.91 kB / 0.5891 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.2065, allocations: 11.94 kB / 0.5891 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.2065, allocations: 0 / 0.5891 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.2065, allocations: 7.984 kB / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.2066, allocations: 11.94 kB / 0.5891 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2066, allocations: 0 / 0.5891 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2068, allocations: 47.94 kB / 0.5892 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2068, allocations: 3.984 kB / 0.5892 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.2069, allocations: 37.64 kB / 0.5892 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.207, allocations: 31.95 kB / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.207, allocations: 0 / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.207, allocations: 4 kB / 0.5892 GB, free: 1.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.207, allocations: 0 / 0.5892 GB, free: 1.305 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.000437/0.2075, allocations: 327.8 kB / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2075, allocations: 8.031 kB / 0.5896 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2076, allocations: 8.844 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.2077, allocations: 168.4 kB / 0.5897 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2077, allocations: 4.375 kB / 0.5897 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.2078, allocations: 4.375 kB / 0.5897 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.2079, allocations: 33.83 kB / 0.5898 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2079, allocations: 3.938 kB / 0.5898 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2079, allocations: 0 / 0.5898 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2079, allocations: 0 / 0.5898 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.2079, allocations: 4 kB / 0.5898 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.2082, allocations: 153.7 kB / 0.5899 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.2082, allocations: 26.58 kB / 0.59 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.2083, allocations: 18.45 kB / 0.59 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/0.2091, allocations: 0.6091 MB / 0.5906 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2091, allocations: 34.5 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.116e-06/0.2091, allocations: 0 / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.2093, allocations: 49.66 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2094, allocations: 59.44 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.2094, allocations: 101.8 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2095, allocations: 25.7 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.2095, allocations: 80.14 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.2096, allocations: 7.891 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2096, allocations: 13.72 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2097, allocations: 314.8 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.2097, allocations: 0 / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.2097, allocations: 8 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.2098, allocations: 16.8 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2098, allocations: 0 / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.1e-05/0.2099, allocations: 41.62 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2099, allocations: 8 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2099, allocations: 0 / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2099, allocations: 0 / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.21, allocations: 4 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.21, allocations: 96 / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.21, allocations: 4 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.21, allocations: 0 / 0.5913 GB, free: 14.85 MB / 0.4981 GB 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 0.0001066/0.2102, allocations: 113.8 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2102, allocations: 7.844 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2103, allocations: 48.75 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2103, allocations: 0 / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2103, allocations: 0 / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2103, allocations: 0 / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2104, allocations: 161.6 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2105, allocations: 0 / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.2105, allocations: 7.938 kB / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2105, allocations: 0 / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2105, allocations: 0 / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2105, allocations: 3.938 kB / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.2105, allocations: 7.984 kB / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.2106, allocations: 61.08 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.2107, allocations: 89.08 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2107, allocations: 0 / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.2107, allocations: 7.984 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.2107, allocations: 4 kB / 0.5918 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2108, allocations: 3.938 kB / 0.5918 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.2108, allocations: 79.28 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2108, allocations: 0 / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002038/0.211, allocations: 16 kB / 0.5919 GB, free: 14.14 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.0001989/0.2112, allocations: 111.2 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.2113, allocations: 12 kB / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2113, allocations: 0 / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.2114, allocations: 7.938 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2116, allocations: 14.59 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.2119, allocations: 106.8 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2122, allocations: 0.677 MB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.2123, allocations: 3.984 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.2123, allocations: 7.438 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.2123, allocations: 0 / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.003125/0.2154, allocations: 0.5798 MB / 0.5934 GB, free: 12.57 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)