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.001113/0.001112, allocations: 111.4 kB / 16.37 MB, free: 5.539 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.001061/0.001061, allocations: 193 kB / 17.31 MB, free: 5.18 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7554/0.7554, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3633, allocations: 80.91 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002029/0.3654, allocations: 1.254 MB / 0.587 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.3656, allocations: 119.3 kB / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.3657, allocations: 1.844 kB / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3657, allocations: 7.922 kB / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.3658, allocations: 6.078 kB / 0.5871 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3659, allocations: 39.67 kB / 0.5872 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.366, allocations: 15.06 kB / 0.5872 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.366, allocations: 2.812 kB / 0.5872 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.832e-05/0.3661, allocations: 6.172 kB / 0.5872 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.3661, allocations: 12.02 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3661, allocations: 0.7812 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3662, allocations: 48.55 kB / 0.5872 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.3663, allocations: 4.641 kB / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.3663, allocations: 8.375 kB / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.352e-05/0.3664, allocations: 38.91 kB / 0.5873 GB, free: 24.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3664, allocations: 0 / 0.5873 GB, free: 24.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3664, allocations: 0 / 0.5873 GB, free: 24.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3664, allocations: 0 / 0.5873 GB, free: 24.29 MB / 446.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.0002741/0.3667, allocations: 338.3 kB / 0.5876 GB, free: 23.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3667, allocations: 10.73 kB / 0.5876 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.3668, allocations: 2.438 kB / 0.5876 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.3668, allocations: 173.8 kB / 0.5878 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3668, allocations: 384 / 0.5878 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.3669, allocations: 2.719 kB / 0.5878 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/0.3669, allocations: 40.69 kB / 0.5878 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3669, allocations: 3.938 kB / 0.5878 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3669, allocations: 2.219 kB / 0.5878 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.367, allocations: 0 / 0.5878 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.367, allocations: 4.156 kB / 0.5878 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.511e-05/0.3671, allocations: 154.2 kB / 0.588 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.3671, allocations: 24.7 kB / 0.588 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.3672, allocations: 8.016 kB / 0.588 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/0.3677, allocations: 0.6039 MB / 0.5886 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.3677, allocations: 40.69 kB / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3677, allocations: 0 / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.3678, allocations: 41.17 kB / 0.5887 GB, free: 22.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.495e-05/0.3679, allocations: 52.41 kB / 0.5887 GB, free: 22.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.3679, allocations: 102.3 kB / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.3679, allocations: 26.86 kB / 0.5889 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.394e-05/0.3679, allocations: 81.42 kB / 0.5889 GB, free: 22.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.368, allocations: 5.312 kB / 0.589 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.368, allocations: 12.31 kB / 0.589 GB, free: 22.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.368, allocations: 321.4 kB / 0.5893 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.368, allocations: 1.312 kB / 0.5893 GB, free: 22.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.3681, allocations: 8.219 kB / 0.5893 GB, free: 22.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.3681, allocations: 15.14 kB / 0.5893 GB, free: 22.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3681, allocations: 0 / 0.5893 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.988e-05/0.3681, allocations: 38.8 kB / 0.5893 GB, free: 22.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.3682, allocations: 5 kB / 0.5893 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3682, allocations: 5.578 kB / 0.5893 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3682, allocations: 0.625 kB / 0.5893 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.3682, allocations: 3.312 kB / 0.5893 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.3682, allocations: 1.219 kB / 0.5893 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.3683, allocations: 3.906 kB / 0.5893 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.3683, allocations: 4.844 kB / 0.5894 GB, free: 22 MB / 446.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 3.733e-05/0.3683, allocations: 111.1 kB / 0.5895 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.3683, allocations: 9.25 kB / 0.5895 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.3684, allocations: 45.78 kB / 0.5895 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3684, allocations: 0 / 0.5895 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3684, allocations: 0 / 0.5895 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3684, allocations: 8.812 kB / 0.5895 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.773e-05/0.3685, allocations: 150.2 kB / 0.5897 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3685, allocations: 0.5 kB / 0.5897 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.3685, allocations: 11.28 kB / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3685, allocations: 0 / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3685, allocations: 3.219 kB / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3685, allocations: 0 / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3685, allocations: 0 / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.349e-05/0.3686, allocations: 72.69 kB / 0.5897 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.3686, allocations: 82.27 kB / 0.5898 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.3686, allocations: 1.594 kB / 0.5898 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.3687, allocations: 1.344 kB / 0.5898 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3687, allocations: 1.594 kB / 0.5898 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3687, allocations: 0 / 0.5898 GB, free: 21.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.842e-05/0.3687, allocations: 87.12 kB / 0.5899 GB, free: 21.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3687, allocations: 0 / 0.5899 GB, free: 21.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.3689, allocations: 16.06 kB / 0.5899 GB, free: 21.37 MB / 446.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.0001169/0.369, allocations: 114.9 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.3691, allocations: 10.56 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3691, allocations: 0 / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.3691, allocations: 9.156 kB / 0.5901 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.3693, allocations: 6.531 kB / 0.5901 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.3695, allocations: 112.3 kB / 0.5902 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.934e-05/0.3696, allocations: 0.6779 MB / 0.5908 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.3696, allocations: 1.281 kB / 0.5908 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.3696, allocations: 9.625 kB / 0.5908 GB, free: 20.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3696, allocations: 1.25 kB / 0.5908 GB, free: 20.44 MB / 446.1 MB Notification: Performance of Templates: time 0.002247/0.3719, allocations: 0.5854 MB / 0.5914 GB, free: 20.17 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)