Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7263/0.7263, allocations: 127.4 MB / 134.9 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 172.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 93.84 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.206e-05, allocations: 5.125 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 76.78 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.2765, allocations: 101.8 MB / 0.7209 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.2768, allocations: 75.95 kB / 0.721 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002133/0.279, allocations: 0.7746 MB / 0.7218 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.076e-06/0.279, allocations: 4 kB / 0.7218 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.279, allocations: 7.938 kB / 0.7218 GB, free: 4.309 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003656/0.2794, allocations: 334.5 kB / 0.7221 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2794, allocations: 8.031 kB / 0.7221 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2796, allocations: 19.94 kB / 0.7221 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2797, allocations: 178.8 kB / 0.7223 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2798, allocations: 0 / 0.7223 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2798, allocations: 4 kB / 0.7223 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.644e-05/0.2799, allocations: 16 kB / 0.7223 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.28, allocations: 33.69 kB / 0.7224 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.28, allocations: 4 kB / 0.7224 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.28, allocations: 0 / 0.7224 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.28, allocations: 0 / 0.7224 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.2805, allocations: 253.5 kB / 0.7226 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.2806, allocations: 38.52 kB / 0.7226 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.2807, allocations: 12.92 kB / 0.7227 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2807, allocations: 0 / 0.7227 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2807, allocations: 34.55 kB / 0.7227 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2807, allocations: 4 kB / 0.7227 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.2809, allocations: 49.69 kB / 0.7227 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2809, allocations: 51.41 kB / 0.7228 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.281, allocations: 104.9 kB / 0.7229 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.281, allocations: 25.7 kB / 0.7229 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.2811, allocations: 84.14 kB / 0.723 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2811, allocations: 7.891 kB / 0.723 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.2811, allocations: 0 / 0.723 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2813, allocations: 326.8 kB / 0.7233 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.2813, allocations: 4 kB / 0.7233 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.2813, allocations: 8 kB / 0.7233 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.2813, allocations: 8 kB / 0.7233 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2813, allocations: 0 / 0.7233 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.055e-05/0.2814, allocations: 45.69 kB / 0.7234 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2815, allocations: 4 kB / 0.7234 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2815, allocations: 0 / 0.7234 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2815, allocations: 0 / 0.7234 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2816, allocations: 20.08 kB / 0.7234 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2816, allocations: 0 / 0.7234 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.2817, allocations: 15.92 kB / 0.7234 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2817, allocations: 3.953 kB / 0.7234 GB, free: 2.445 MB / 0.4948 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 () * 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 7.083e-05/0.2818, allocations: 105 kB / 0.7235 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2818, allocations: 7.906 kB / 0.7235 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.2819, allocations: 7.969 kB / 0.7235 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2819, allocations: 0 / 0.7235 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2819, allocations: 4 kB / 0.7235 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2819, allocations: 3.938 kB / 0.7235 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.282, allocations: 142.2 kB / 0.7237 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2821, allocations: 0 / 0.7237 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.2821, allocations: 15.98 kB / 0.7237 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2822, allocations: 0 / 0.7237 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2822, allocations: 0 / 0.7237 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2822, allocations: 4 kB / 0.7237 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2822, allocations: 0 / 0.7237 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.2823, allocations: 147.5 kB / 0.7238 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.2824, allocations: 77.11 kB / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.2824, allocations: 0 / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.2825, allocations: 12.02 kB / 0.7239 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.2825, allocations: 8 kB / 0.7239 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2826, allocations: 3.984 kB / 0.7239 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.2826, allocations: 83.53 kB / 0.724 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2826, allocations: 0 / 0.724 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002082/0.2828, allocations: 7.906 kB / 0.724 GB, free: 1.754 MB / 0.4948 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 () * 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.000113/0.2829, allocations: 99.19 kB / 0.7241 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.468e-05/0.2831, allocations: 20 kB / 0.7241 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2831, allocations: 8 kB / 0.7241 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.2831, allocations: 8 kB / 0.7241 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.2833, allocations: 7.953 kB / 0.7242 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2836, allocations: 75.86 kB / 0.7242 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2839, allocations: 0.6807 MB / 0.7249 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.2839, allocations: 4.062 kB / 0.7249 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.2839, allocations: 7.438 kB / 0.7249 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/0.2839, allocations: 0 / 0.7249 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of Templates: time 0.002174/0.2861, allocations: 471.9 kB / 0.7253 GB, free: 332 kB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)