Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2517/0.2537, allocations: 80.83 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002878/0.2567, allocations: 0.6268 MB / 0.5903 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004619/0.2572, allocations: 95.72 kB / 0.5904 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.2572, allocations: 0 / 0.5904 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.2573, allocations: 3.938 kB / 0.5904 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.2573, allocations: 0 / 0.5904 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.2576, allocations: 8 kB / 0.5904 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.2577, allocations: 15.97 kB / 0.5904 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.2578, allocations: 7.938 kB / 0.5904 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.2578, allocations: 4 kB / 0.5904 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.2579, allocations: 4 kB / 0.5904 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.2579, allocations: 0 / 0.5904 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.258, allocations: 11.98 kB / 0.5904 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.258, allocations: 4 kB / 0.5904 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2581, allocations: 3.938 kB / 0.5904 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.2582, allocations: 19.97 kB / 0.5905 GB, free: 6.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.2582, allocations: 7.984 kB / 0.5905 GB, free: 6.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2582, allocations: 0 / 0.5905 GB, free: 6.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2582, allocations: 4 kB / 0.5905 GB, free: 6.277 MB / 446.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.0004857/0.2587, allocations: 311.3 kB / 0.5908 GB, free: 5.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.2588, allocations: 8.031 kB / 0.5908 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.259, allocations: 12.92 kB / 0.5908 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2592, allocations: 176.3 kB / 0.591 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.2592, allocations: 4.312 kB / 0.591 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.2592, allocations: 4.375 kB / 0.591 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2594, allocations: 41.81 kB / 0.591 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2594, allocations: 0 / 0.591 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2594, allocations: 0 / 0.591 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2595, allocations: 0 / 0.591 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.2596, allocations: 19.92 kB / 0.591 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.2598, allocations: 153.6 kB / 0.5912 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.26, allocations: 46.5 kB / 0.5912 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.26, allocations: 16.91 kB / 0.5912 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2601, allocations: 0 / 0.5912 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2601, allocations: 38.5 kB / 0.5913 GB, free: 5.305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2601, allocations: 0 / 0.5913 GB, free: 5.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002446/0.2603, allocations: 53.67 kB / 0.5913 GB, free: 5.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2604, allocations: 55.41 kB / 0.5914 GB, free: 5.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.2605, allocations: 89.86 kB / 0.5915 GB, free: 5.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2605, allocations: 25.7 kB / 0.5915 GB, free: 5.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.2605, allocations: 80.14 kB / 0.5916 GB, free: 4.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.2606, allocations: 7.906 kB / 0.5916 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.2606, allocations: 17.66 kB / 0.5916 GB, free: 4.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2608, allocations: 314.8 kB / 0.5919 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.2608, allocations: 12 kB / 0.5919 GB, free: 4.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.2609, allocations: 7.984 kB / 0.5919 GB, free: 4.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.261, allocations: 16.86 kB / 0.5919 GB, free: 4.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.261, allocations: 0 / 0.5919 GB, free: 4.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/0.2611, allocations: 53.67 kB / 0.592 GB, free: 4.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2611, allocations: 7.938 kB / 0.592 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2611, allocations: 3.938 kB / 0.592 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2612, allocations: 0 / 0.592 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.2616, allocations: 51.88 kB / 0.592 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.263, allocations: 1.31 MB / 0.5933 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.2631, allocations: 0 / 0.5933 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2631, allocations: 4.156 kB / 0.5933 GB, free: 3.016 MB / 446.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 0.000115/0.2632, allocations: 118.7 kB / 0.5934 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.2632, allocations: 0 / 0.5934 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.2633, allocations: 3.5 kB / 0.5934 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2633, allocations: 3.938 kB / 0.5934 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.2633, allocations: 0 / 0.5934 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2633, allocations: 0 / 0.5934 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2634, allocations: 157.6 kB / 0.5936 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2634, allocations: 0 / 0.5936 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.2638, allocations: 51.92 kB / 0.5936 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2638, allocations: 3.938 kB / 0.5936 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2638, allocations: 0 / 0.5936 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.265, allocations: 1.31 MB / 0.5949 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.265, allocations: 0 / 0.5949 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2652, allocations: 81.08 kB / 0.595 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.2652, allocations: 81.11 kB / 0.5951 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-06/0.2653, allocations: 0 / 0.5951 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.2653, allocations: 0 / 0.5951 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.2653, allocations: 12.08 kB / 0.5951 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.2653, allocations: 3.938 kB / 0.5951 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.266e-05/0.2654, allocations: 75.28 kB / 0.5952 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2654, allocations: 0 / 0.5952 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.2656, allocations: 8 kB / 0.5952 GB, free: 0.8906 MB / 446.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.0002054/0.2658, allocations: 95.25 kB / 0.5953 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.2663, allocations: 71.88 kB / 0.5953 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2663, allocations: 0 / 0.5953 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.2665, allocations: 35.95 kB / 0.5954 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2667, allocations: 0 / 0.5954 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.2671, allocations: 106.8 kB / 0.5955 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.2675, allocations: 0.6731 MB / 0.5961 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.2676, allocations: 4 kB / 0.5961 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.2676, allocations: 7.438 kB / 0.5961 GB, free: 15.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2676, allocations: 0 / 0.5961 GB, free: 15.84 MB / 462.1 MB Notification: Performance of Templates: time 0.002641/0.2703, allocations: 401 kB / 0.5965 GB, free: 15.46 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)