Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009725/0.0009726, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009862/0.0009865, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.098/1.098, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003604, allocations: 8.625 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2748, allocations: 82.32 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001778/0.2767, allocations: 0.9594 MB / 0.5881 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000309/0.277, allocations: 115.7 kB / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.2771, allocations: 0 / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.2771, allocations: 3.938 kB / 0.5883 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.083e-05/0.2772, allocations: 4 kB / 0.5883 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.2774, allocations: 27.95 kB / 0.5883 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.2775, allocations: 15.97 kB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.2776, allocations: 3.938 kB / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.2776, allocations: 7.938 kB / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.2777, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2777, allocations: 4 kB / 0.5883 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.2779, allocations: 43.94 kB / 0.5884 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2779, allocations: 8 kB / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.278, allocations: 29.7 kB / 0.5884 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.773e-05/0.2781, allocations: 27.95 kB / 0.5884 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2781, allocations: 0 / 0.5884 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2781, allocations: 0 / 0.5884 GB, free: 1.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2781, allocations: 0 / 0.5884 GB, free: 1.832 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.0004292/0.2785, allocations: 331.5 kB / 0.5887 GB, free: 1.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2786, allocations: 8.031 kB / 0.5887 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2786, allocations: 4 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2788, allocations: 175 kB / 0.5889 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2788, allocations: 4 kB / 0.5889 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2788, allocations: 0 / 0.5889 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.2789, allocations: 33.69 kB / 0.589 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.279, allocations: 0 / 0.589 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.279, allocations: 0 / 0.589 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.279, allocations: 3.938 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.279, allocations: 8 kB / 0.589 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.2794, allocations: 153.6 kB / 0.5891 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.2795, allocations: 30.55 kB / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000905/0.2804, allocations: 0.6091 MB / 0.5897 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.2804, allocations: 34.56 kB / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.2804, allocations: 0 / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.2806, allocations: 37.83 kB / 0.5898 GB, free: 124 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.2807, allocations: 59.39 kB / 0.5899 GB, free: 52 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2808, allocations: 97.86 kB / 0.59 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2809, allocations: 25.7 kB / 0.59 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.2809, allocations: 84.14 kB / 0.5901 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2809, allocations: 7.844 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.281, allocations: 0 / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2811, allocations: 314.8 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.2812, allocations: 8 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.2812, allocations: 11.94 kB / 0.5904 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.2812, allocations: 4 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2812, allocations: 0 / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.522e-05/0.2813, allocations: 41.66 kB / 0.5904 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2814, allocations: 4 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2814, allocations: 0 / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2814, allocations: 3.938 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.2815, allocations: 7.984 kB / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2815, allocations: 0 / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.2815, allocations: 8.094 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2815, allocations: 0 / 0.5905 GB, free: 15.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.2816, allocations: 109.8 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.2816, allocations: 3.953 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.2818, allocations: 52.72 kB / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2818, allocations: 0 / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2818, allocations: 0 / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2818, allocations: 0 / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.2819, allocations: 157.6 kB / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2819, allocations: 4.031 kB / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.282, allocations: 7.938 kB / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/0.282, allocations: 3.953 kB / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.282, allocations: 0 / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2821, allocations: 0 / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2821, allocations: 0 / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.2822, allocations: 65.06 kB / 0.5908 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2822, allocations: 85.14 kB / 0.5909 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2822, allocations: 3.953 kB / 0.5909 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.2823, allocations: 4 kB / 0.5909 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2823, allocations: 0 / 0.5909 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2823, allocations: 0 / 0.5909 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.2824, allocations: 87.44 kB / 0.591 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2824, allocations: 0 / 0.591 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000214/0.2826, allocations: 20 kB / 0.591 GB, free: 14.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.2828, allocations: 115.2 kB / 0.5911 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.283, allocations: 11.98 kB / 0.5912 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.283, allocations: 3.938 kB / 0.5912 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.283, allocations: 4 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2832, allocations: 8 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.2836, allocations: 106.7 kB / 0.5913 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.284, allocations: 0.6772 MB / 0.5919 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.284, allocations: 7.984 kB / 0.5919 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.284, allocations: 7.438 kB / 0.5919 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.284, allocations: 3.938 kB / 0.5919 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.003264/0.2873, allocations: 0.5538 MB / 0.5925 GB, free: 13.16 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: