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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001845/0.001845, allocations: 198.6 kB / 16.14 MB, free: 6.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6057/0.6057, allocations: 95.47 MB / 364.8 MB, free: 10.14 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.91 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3289, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001522/0.3305, allocations: 0.6094 MB / 0.5023 GB, free: 17.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000251/0.3307, allocations: 98.77 kB / 0.5024 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-06/0.3308, allocations: 0 / 0.5024 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.3308, allocations: 0 / 0.5024 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.804e-05/0.3308, allocations: 0 / 0.5024 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.331, allocations: 11.98 kB / 0.5024 GB, free: 16.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.927e-05/0.331, allocations: 19.86 kB / 0.5024 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.3311, allocations: 0 / 0.5024 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.3311, allocations: 8 kB / 0.5024 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.3312, allocations: 0 / 0.5024 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3312, allocations: 0 / 0.5024 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.47e-05/0.3312, allocations: 15.98 kB / 0.5024 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3312, allocations: 0 / 0.5024 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.3313, allocations: 11.92 kB / 0.5025 GB, free: 16.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.3313, allocations: 15.97 kB / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3313, allocations: 0 / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3313, allocations: 0 / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.3313, allocations: 0 / 0.5025 GB, free: 16.85 MB / 382.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.0002562/0.3316, allocations: 323.6 kB / 0.5028 GB, free: 16.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3316, allocations: 11.98 kB / 0.5028 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3318, allocations: 12.83 kB / 0.5028 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.004e-05/0.3319, allocations: 164.4 kB / 0.503 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3319, allocations: 8.375 kB / 0.503 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3319, allocations: 3.938 kB / 0.503 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.332, allocations: 37.69 kB / 0.503 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.332, allocations: 3.938 kB / 0.503 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.332, allocations: 0 / 0.503 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3321, allocations: 11.98 kB / 0.503 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.3321, allocations: 11.92 kB / 0.503 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.64e-05/0.3322, allocations: 155.7 kB / 0.5032 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3324, allocations: 42.5 kB / 0.5032 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.3324, allocations: 16.91 kB / 0.5032 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3325, allocations: 4 kB / 0.5032 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.3325, allocations: 30.56 kB / 0.5033 GB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3325, allocations: 0 / 0.5033 GB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000179/0.3327, allocations: 57.61 kB / 0.5033 GB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.3327, allocations: 55.34 kB / 0.5034 GB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.121e-05/0.3327, allocations: 89.86 kB / 0.5035 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.3327, allocations: 25.7 kB / 0.5035 GB, free: 15.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.232e-05/0.3327, allocations: 92.14 kB / 0.5036 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3328, allocations: 3.906 kB / 0.5036 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.3328, allocations: 13.72 kB / 0.5036 GB, free: 15.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.3329, allocations: 318.8 kB / 0.5039 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.3329, allocations: 4 kB / 0.5039 GB, free: 15.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.3329, allocations: 7.984 kB / 0.5039 GB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.333, allocations: 20.8 kB / 0.5039 GB, free: 15.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.333, allocations: 4 kB / 0.5039 GB, free: 15.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.219e-05/0.3331, allocations: 53.61 kB / 0.504 GB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.3331, allocations: 8 kB / 0.504 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3331, allocations: 0 / 0.504 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.3331, allocations: 0 / 0.504 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.3335, allocations: 43.94 kB / 0.504 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000994/0.3345, allocations: 1.31 MB / 0.5053 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.3346, allocations: 8.359 kB / 0.5053 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3346, allocations: 0 / 0.5053 GB, free: 13.58 MB / 382.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 6.575e-05/0.3346, allocations: 113.7 kB / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.3347, allocations: 4 kB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.3347, allocations: 11.58 kB / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3347, allocations: 0 / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.3347, allocations: 0 / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3347, allocations: 0 / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.145e-05/0.3348, allocations: 157.6 kB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3348, allocations: 0 / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.3352, allocations: 55.92 kB / 0.5056 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3352, allocations: 0 / 0.5056 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.3352, allocations: 0 / 0.5056 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009252/0.3361, allocations: 1.313 MB / 0.5069 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3361, allocations: 7.875 kB / 0.5069 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3363, allocations: 77.2 kB / 0.507 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.3363, allocations: 81.11 kB / 0.5071 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.3363, allocations: 0 / 0.5071 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.557e-05/0.3363, allocations: 0 / 0.5071 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3364, allocations: 11.86 kB / 0.5071 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3364, allocations: 8 kB / 0.5071 GB, free: 11.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.452e-05/0.3364, allocations: 75.28 kB / 0.5072 GB, free: 11.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3364, allocations: 0 / 0.5072 GB, free: 11.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.3366, allocations: 8 kB / 0.5072 GB, free: 11.43 MB / 382.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.0001224/0.3367, allocations: 95.25 kB / 0.5073 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3372, allocations: 59.91 kB / 0.5073 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3372, allocations: 4 kB / 0.5073 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3374, allocations: 39.89 kB / 0.5074 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.3376, allocations: 0 / 0.5074 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.3379, allocations: 98.88 kB / 0.5075 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3381, allocations: 0.6731 MB / 0.5081 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.3381, allocations: 4.234 kB / 0.5081 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3382, allocations: 15.42 kB / 0.5081 GB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3382, allocations: 0 / 0.5081 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.00237/0.3405, allocations: 396.6 kB / 0.5085 GB, free: 10 MB / 382.1 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)