Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6236/0.6236, allocations: 94.78 MB / 102.3 MB, free: 10.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001107/0.001107, allocations: 180.8 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.497/1.497, allocations: 170.6 MB / 319.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001813/0.001813, allocations: 115.3 kB / 381.3 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/3.039e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1896, allocations: 61.52 MB / 0.4987 GB, free: 4.117 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.7046, allocations: 92.38 MB / 0.5889 GB, free: 9.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.7049, allocations: 71.95 kB / 0.589 GB, free: 9.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002871/0.7078, allocations: 0.9379 MB / 0.5899 GB, free: 8.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7079, allocations: 0.5 kB / 0.5899 GB, free: 8.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.7079, allocations: 0.7188 kB / 0.5899 GB, free: 8.566 MB / 410.7 MB 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.0004015/0.7083, allocations: 307 kB / 0.5902 GB, free: 8.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.7084, allocations: 8.812 kB / 0.5902 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.7086, allocations: 8.891 kB / 0.5902 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7087, allocations: 171.8 kB / 0.5903 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.7087, allocations: 0.9844 kB / 0.5903 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.7088, allocations: 0.875 kB / 0.5903 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.237e-05/0.7088, allocations: 6.922 kB / 0.5904 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.7089, allocations: 38.38 kB / 0.5904 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.709, allocations: 0 / 0.5904 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.709, allocations: 0.7188 kB / 0.5904 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.709, allocations: 7.953 kB / 0.5904 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.7092, allocations: 132.9 kB / 0.5905 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.7094, allocations: 35.86 kB / 0.5906 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.7094, allocations: 10.05 kB / 0.5906 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.7094, allocations: 0 / 0.5906 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.7095, allocations: 37.5 kB / 0.5906 GB, free: 7.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7095, allocations: 0 / 0.5906 GB, free: 7.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001483/0.7097, allocations: 45.67 kB / 0.5906 GB, free: 7.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.7097, allocations: 51.41 kB / 0.5907 GB, free: 7.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.7098, allocations: 85.75 kB / 0.5908 GB, free: 7.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.7098, allocations: 26.27 kB / 0.5908 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.7098, allocations: 88.95 kB / 0.5909 GB, free: 7.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.7099, allocations: 8.281 kB / 0.5909 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.7099, allocations: 0 / 0.5909 GB, free: 7.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.71, allocations: 315.9 kB / 0.5912 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.71, allocations: 4.688 kB / 0.5912 GB, free: 7.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.7101, allocations: 4 kB / 0.5912 GB, free: 7.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.7101, allocations: 5.031 kB / 0.5912 GB, free: 7.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7101, allocations: 0 / 0.5912 GB, free: 7.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.119e-05/0.7102, allocations: 50.19 kB / 0.5913 GB, free: 6.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.7102, allocations: 6.625 kB / 0.5913 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.7102, allocations: 5.719 kB / 0.5913 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7103, allocations: 0.75 kB / 0.5913 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.7107, allocations: 41.75 kB / 0.5913 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.7119, allocations: 1.249 MB / 0.5925 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.7119, allocations: 5.234 kB / 0.5925 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.712, allocations: 0 / 0.5925 GB, free: 5.578 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/0.7121, allocations: 110.2 kB / 0.5926 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.7121, allocations: 0 / 0.5926 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.7121, allocations: 8.125 kB / 0.5926 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7121, allocations: 0.5625 kB / 0.5926 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.7121, allocations: 0 / 0.5926 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7121, allocations: 0.875 kB / 0.5927 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.7122, allocations: 131 kB / 0.5928 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.7122, allocations: 5.953 kB / 0.5928 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.7126, allocations: 49 kB / 0.5928 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.7126, allocations: 0 / 0.5928 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.7126, allocations: 1.125 kB / 0.5928 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009285/0.7136, allocations: 1.244 MB / 0.594 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7136, allocations: 0 / 0.594 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.164e-05/0.7137, allocations: 78.14 kB / 0.5941 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.7137, allocations: 77.11 kB / 0.5942 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-06/0.7138, allocations: 1.562 kB / 0.5942 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.7138, allocations: 3.984 kB / 0.5942 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.7138, allocations: 4 kB / 0.5942 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.7138, allocations: 0 / 0.5942 GB, free: 3.691 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.7139, allocations: 75.28 kB / 0.5943 GB, free: 3.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7139, allocations: 0 / 0.5943 GB, free: 3.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000195/0.7141, allocations: 8 kB / 0.5943 GB, free: 3.609 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.7143, allocations: 95.25 kB / 0.5944 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.7147, allocations: 48.69 kB / 0.5944 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7147, allocations: 0 / 0.5944 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.7149, allocations: 39.89 kB / 0.5945 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.715, allocations: 7.891 kB / 0.5945 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.7152, allocations: 55.72 kB / 0.5945 GB, free: 3.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.7155, allocations: 0.6783 MB / 0.5952 GB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.586e-05/0.7156, allocations: 8 kB / 0.5952 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.7156, allocations: 7.438 kB / 0.5952 GB, free: 2.625 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7156, allocations: 0 / 0.5952 GB, free: 2.625 MB / 410.7 MB Notification: Performance of Templates: time 0.002697/0.7183, allocations: 371.8 kB / 0.5955 GB, free: 2.289 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)