Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001185/0.001186, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7227/0.7227, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.41 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1847, allocations: 76.18 MB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002451/0.1872, allocations: 0.5688 MB / 0.6327 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.1876, allocations: 99.72 kB / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.1877, allocations: 0 / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.1877, allocations: 0 / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.1878, allocations: 0 / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1881, allocations: 23.91 kB / 0.6328 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.1882, allocations: 8 kB / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.238e-05/0.1883, allocations: 0 / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.1883, allocations: 3.938 kB / 0.6328 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1884, allocations: 7.984 kB / 0.6328 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1885, allocations: 0 / 0.6328 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.1886, allocations: 19.98 kB / 0.6328 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1886, allocations: 0 / 0.6328 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.1886, allocations: 0 / 0.6328 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1887, allocations: 23.91 kB / 0.6329 GB, free: 3.605 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1888, allocations: 0 / 0.6329 GB, free: 3.605 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1888, allocations: 0 / 0.6329 GB, free: 3.605 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1888, allocations: 0 / 0.6329 GB, free: 3.605 MB / 478.1 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.0004603/0.1892, allocations: 319.9 kB / 0.6332 GB, free: 3.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1893, allocations: 8.031 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1895, allocations: 16.92 kB / 0.6332 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1897, allocations: 160.4 kB / 0.6333 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.1897, allocations: 384 / 0.6333 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1897, allocations: 8.359 kB / 0.6333 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1899, allocations: 38.19 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1899, allocations: 192 / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1899, allocations: 7.938 kB / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1899, allocations: 0 / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1901, allocations: 11.98 kB / 0.6334 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1903, allocations: 157.7 kB / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1905, allocations: 38.59 kB / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.1906, allocations: 16.92 kB / 0.6336 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1906, allocations: 0 / 0.6336 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1906, allocations: 42.5 kB / 0.6336 GB, free: 2.633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1906, allocations: 0 / 0.6336 GB, free: 2.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002645/0.1909, allocations: 57.61 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.191, allocations: 51.41 kB / 0.6338 GB, free: 2.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.191, allocations: 89.86 kB / 0.6338 GB, free: 2.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.191, allocations: 25.7 kB / 0.6339 GB, free: 2.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1911, allocations: 80.14 kB / 0.6339 GB, free: 2.297 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.1912, allocations: 27.67 kB / 0.634 GB, free: 2.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1912, allocations: 17.66 kB / 0.634 GB, free: 2.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1913, allocations: 314.8 kB / 0.6343 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.1914, allocations: 11.98 kB / 0.6343 GB, free: 1.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.377e-05/0.1915, allocations: 4 kB / 0.6343 GB, free: 1.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1916, allocations: 24.78 kB / 0.6343 GB, free: 1.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1916, allocations: 0 / 0.6343 GB, free: 1.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001546/0.1918, allocations: 45.69 kB / 0.6344 GB, free: 1.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1918, allocations: 8 kB / 0.6344 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1918, allocations: 0 / 0.6344 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.1919, allocations: 7.938 kB / 0.6344 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.1924, allocations: 47.92 kB / 0.6344 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.1941, allocations: 1.405 MB / 0.6358 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.1941, allocations: 4.031 kB / 0.6358 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1941, allocations: 0 / 0.6358 GB, free: 232 kB / 478.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.426e-05/0.1942, allocations: 113.8 kB / 0.6359 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1942, allocations: 4 kB / 0.6359 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.1942, allocations: 7.594 kB / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1943, allocations: 0 / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.1943, allocations: 0 / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1943, allocations: 0 / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1944, allocations: 157.6 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1944, allocations: 0 / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.1948, allocations: 51.92 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.1948, allocations: 3.938 kB / 0.6361 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1948, allocations: 0 / 0.6361 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.1962, allocations: 1.4 MB / 0.6375 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1962, allocations: 128 / 0.6375 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1964, allocations: 81.09 kB / 0.6376 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/0.1964, allocations: 81.11 kB / 0.6376 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1964, allocations: 7.922 kB / 0.6377 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.1965, allocations: 0 / 0.6377 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.1965, allocations: 0 / 0.6377 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1965, allocations: 4 kB / 0.6377 GB, free: 14.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.1965, allocations: 79.28 kB / 0.6377 GB, free: 14.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1965, allocations: 0 / 0.6377 GB, free: 14.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001903/0.1967, allocations: 4 kB / 0.6377 GB, free: 14 MB / 494.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.1969, allocations: 99.19 kB / 0.6378 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.1974, allocations: 67.89 kB / 0.6379 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1974, allocations: 0 / 0.6379 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.1977, allocations: 52.02 kB / 0.6379 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1978, allocations: 3.938 kB / 0.6379 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.1982, allocations: 102.4 kB / 0.638 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1985, allocations: 0.6768 MB / 0.6387 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.1986, allocations: 0 / 0.6387 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1986, allocations: 11.44 kB / 0.6387 GB, free: 12.93 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1986, allocations: 0 / 0.6387 GB, free: 12.93 MB / 494.1 MB Notification: Performance of Templates: time 0.002757/0.2014, allocations: 415.4 kB / 0.6391 GB, free: 12.53 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)