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.2528/0.2554, allocations: 80.84 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002796/0.2582, allocations: 0.5541 MB / 0.6712 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.2587, allocations: 95.64 kB / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.2588, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.2588, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.259, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.2593, allocations: 23.92 kB / 0.6713 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.2594, allocations: 11.94 kB / 0.6713 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.2595, allocations: 0 / 0.6713 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.2595, allocations: 0 / 0.6713 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2596, allocations: 7.984 kB / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.2597, allocations: 0 / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.2598, allocations: 19.98 kB / 0.6713 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2598, allocations: 3.984 kB / 0.6713 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.2598, allocations: 3.938 kB / 0.6713 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2599, allocations: 15.98 kB / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.26, allocations: 0 / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.26, allocations: 4 kB / 0.6714 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.26, allocations: 0 / 0.6714 GB, free: 1.258 MB / 0.4981 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.000496/0.2605, allocations: 319.5 kB / 0.6717 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2605, allocations: 8.031 kB / 0.6717 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.2608, allocations: 8.922 kB / 0.6717 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2609, allocations: 168.3 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2609, allocations: 4.375 kB / 0.6718 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.2609, allocations: 4.375 kB / 0.6719 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2611, allocations: 41.97 kB / 0.6719 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2611, allocations: 0 / 0.6719 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2612, allocations: 0 / 0.6719 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2612, allocations: 3.984 kB / 0.6719 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.2613, allocations: 15.98 kB / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.2615, allocations: 149.7 kB / 0.6721 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2617, allocations: 46.53 kB / 0.6721 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.2618, allocations: 12.92 kB / 0.6721 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2618, allocations: 3.938 kB / 0.6721 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2618, allocations: 34.56 kB / 0.6721 GB, free: 300 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2618, allocations: 3.938 kB / 0.6721 GB, free: 296 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002521/0.2621, allocations: 53.67 kB / 0.6722 GB, free: 236 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2622, allocations: 59.34 kB / 0.6723 GB, free: 164 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.2622, allocations: 89.86 kB / 0.6723 GB, free: 64 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2623, allocations: 25.7 kB / 0.6724 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.2623, allocations: 80.14 kB / 0.6724 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.2624, allocations: 19.8 kB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.2624, allocations: 13.72 kB / 0.6725 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2626, allocations: 318.8 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.2626, allocations: 11.98 kB / 0.6728 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.2626, allocations: 8 kB / 0.6728 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.2627, allocations: 20.84 kB / 0.6728 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2628, allocations: 0 / 0.6728 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001296/0.2629, allocations: 53.56 kB / 0.6729 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2629, allocations: 4.781 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2629, allocations: 0 / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.263, allocations: 4 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2634, allocations: 47.92 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.2649, allocations: 1.405 MB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.265, allocations: 12.09 kB / 0.6743 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.265, allocations: 0 / 0.6743 GB, free: 13.88 MB / 0.5137 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 9.669e-05/0.2651, allocations: 113.8 kB / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2651, allocations: 4 kB / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.2652, allocations: 3.5 kB / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2652, allocations: 0 / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2652, allocations: 0 / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2652, allocations: 7.938 kB / 0.6744 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.2653, allocations: 157.7 kB / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2653, allocations: 0 / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.2657, allocations: 47.92 kB / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2657, allocations: 0 / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2657, allocations: 0 / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.2671, allocations: 1.408 MB / 0.676 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2671, allocations: 0 / 0.676 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.2673, allocations: 65.16 kB / 0.6761 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.2673, allocations: 97.06 kB / 0.6762 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.2673, allocations: 7.938 kB / 0.6762 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.2674, allocations: 0 / 0.6762 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.2674, allocations: 0 / 0.6762 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2674, allocations: 7.938 kB / 0.6762 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.2675, allocations: 75.28 kB / 0.6762 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2675, allocations: 0 / 0.6762 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001998/0.2677, allocations: 4 kB / 0.6762 GB, free: 11.65 MB / 0.5137 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 0.0001575/0.2678, allocations: 103.3 kB / 0.6763 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.2683, allocations: 63.91 kB / 0.6764 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2684, allocations: 0 / 0.6764 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.2686, allocations: 43.95 kB / 0.6764 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.2688, allocations: 3.938 kB / 0.6765 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.2692, allocations: 108.7 kB / 0.6766 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2695, allocations: 0.6729 MB / 0.6772 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.2696, allocations: 8 kB / 0.6772 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2696, allocations: 7.438 kB / 0.6772 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.2696, allocations: 0 / 0.6772 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.003086/0.2727, allocations: 422.6 kB / 0.6776 GB, free: 10.17 MB / 0.5137 GB 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)