Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001123/0.001123, allocations: 104.1 kB / 16.29 MB, free: 6.023 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.001104/0.001104, allocations: 185.6 kB / 17.22 MB, free: 5.629 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.166/1.166, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.89 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1917, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001564/0.1933, allocations: 0.5864 MB / 0.7847 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.1935, allocations: 99.72 kB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.1935, allocations: 0 / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.1936, allocations: 0 / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.1936, allocations: 0 / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1938, allocations: 19.92 kB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.102e-05/0.1938, allocations: 11.98 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.1939, allocations: 4 kB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.1939, allocations: 3.938 kB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.194, allocations: 7.984 kB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.194, allocations: 0 / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.194, allocations: 15.98 kB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.1941, allocations: 0 / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.1941, allocations: 0 / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/0.1942, allocations: 23.91 kB / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1942, allocations: 0 / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1942, allocations: 0 / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1942, allocations: 4 kB / 0.7848 GB, free: 3.066 MB / 0.6544 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.0002898/0.1945, allocations: 315.6 kB / 0.7851 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1945, allocations: 12.03 kB / 0.7852 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1947, allocations: 8.922 kB / 0.7852 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.1948, allocations: 164.4 kB / 0.7853 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1948, allocations: 384 / 0.7853 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1948, allocations: 4.375 kB / 0.7853 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1949, allocations: 46.12 kB / 0.7854 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1949, allocations: 192 / 0.7854 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1949, allocations: 3.938 kB / 0.7854 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.195, allocations: 0 / 0.7854 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.195, allocations: 15.98 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1952, allocations: 154 kB / 0.7855 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1953, allocations: 42.59 kB / 0.7856 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.1954, allocations: 16.92 kB / 0.7856 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1954, allocations: 3.938 kB / 0.7856 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1954, allocations: 30.56 kB / 0.7856 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1954, allocations: 0 / 0.7856 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001822/0.1956, allocations: 57.61 kB / 0.7857 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1956, allocations: 51.41 kB / 0.7857 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.018e-05/0.1957, allocations: 93.86 kB / 0.7858 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1957, allocations: 25.7 kB / 0.7858 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.1957, allocations: 80.14 kB / 0.7859 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1958, allocations: 23.73 kB / 0.7859 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1958, allocations: 9.719 kB / 0.7859 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1959, allocations: 314.8 kB / 0.7862 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.1959, allocations: 15.98 kB / 0.7863 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.196, allocations: 7.938 kB / 0.7863 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.1961, allocations: 28.78 kB / 0.7863 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1961, allocations: 0 / 0.7863 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.108e-05/0.1962, allocations: 45.97 kB / 0.7863 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1962, allocations: 4 kB / 0.7863 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1962, allocations: 0 / 0.7863 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1962, allocations: 11.97 kB / 0.7864 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.1965, allocations: 43.92 kB / 0.7864 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2937/0.4902, allocations: 1.399 MB / 0.7878 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.4903, allocations: 1.688 kB / 0.7878 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4903, allocations: 0.7188 kB / 0.7878 GB, free: 47.76 MB / 0.6544 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 (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 4.895e-05/0.4903, allocations: 115.8 kB / 0.7879 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.4904, allocations: 2.703 kB / 0.7879 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.045e-05/0.4904, allocations: 6.938 kB / 0.7879 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4904, allocations: 0 / 0.7879 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.4904, allocations: 1.719 kB / 0.7879 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4904, allocations: 3.281 kB / 0.7879 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.599e-05/0.4905, allocations: 149.9 kB / 0.788 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4905, allocations: 0 / 0.788 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.4908, allocations: 53.02 kB / 0.7881 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4908, allocations: 0 / 0.7881 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4908, allocations: 0.8438 kB / 0.7881 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006891/0.4915, allocations: 1.408 MB / 0.7895 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4915, allocations: 0 / 0.7895 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.602e-05/0.4916, allocations: 81.23 kB / 0.7895 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.4916, allocations: 79.8 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-06/0.4916, allocations: 1.875 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.4916, allocations: 5.172 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.4917, allocations: 2.688 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4917, allocations: 0.8438 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.042e-05/0.4917, allocations: 78 kB / 0.7897 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.4917, allocations: 0.5938 kB / 0.7897 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001762/0.4919, allocations: 4.625 kB / 0.7897 GB, free: 45.82 MB / 0.6544 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 (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 7.93e-05/0.492, allocations: 99.19 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.4923, allocations: 64.02 kB / 0.7899 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4923, allocations: 0 / 0.7899 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.4925, allocations: 48.09 kB / 0.7899 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.4927, allocations: 6.469 kB / 0.7899 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.4929, allocations: 87.38 kB / 0.79 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.493, allocations: 0.6756 MB / 0.7907 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.493, allocations: 4.688 kB / 0.7907 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.493, allocations: 13.75 kB / 0.7907 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.493, allocations: 0.9688 kB / 0.7907 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.001838/0.4949, allocations: 410 kB / 0.7911 GB, free: 44.94 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)