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.2436/0.2448, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008069/0.2456, allocations: 300.8 kB / 0.5944 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.246, allocations: 83.8 kB / 0.5945 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.246, allocations: 0 / 0.5945 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.2461, allocations: 0 / 0.5945 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.2461, allocations: 0 / 0.5945 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.2463, allocations: 15.92 kB / 0.5945 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.2464, allocations: 4 kB / 0.5945 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.2464, allocations: 12.03 kB / 0.5945 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.2465, allocations: 3.938 kB / 0.5945 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.2466, allocations: 11.98 kB / 0.5945 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2466, allocations: 0 / 0.5945 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.2467, allocations: 15.98 kB / 0.5945 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.2467, allocations: 3.984 kB / 0.5946 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.2467, allocations: 25.7 kB / 0.5946 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.2468, allocations: 19.92 kB / 0.5946 GB, free: 5.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2469, allocations: 0 / 0.5946 GB, free: 5.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2469, allocations: 0 / 0.5946 GB, free: 5.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2469, allocations: 4 kB / 0.5946 GB, free: 5.059 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.0004251/0.2473, allocations: 311.9 kB / 0.5949 GB, free: 4.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.2474, allocations: 12.03 kB / 0.5949 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.2476, allocations: 8.922 kB / 0.5949 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2477, allocations: 164.3 kB / 0.5951 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2477, allocations: 4.312 kB / 0.5951 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2478, allocations: 4.375 kB / 0.5951 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2479, allocations: 45.75 kB / 0.5951 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2479, allocations: 0 / 0.5951 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2479, allocations: 0 / 0.5951 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2479, allocations: 0 / 0.5951 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.248, allocations: 19.98 kB / 0.5951 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.2482, allocations: 153.6 kB / 0.5953 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.2484, allocations: 38.61 kB / 0.5953 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.2485, allocations: 20.89 kB / 0.5953 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2485, allocations: 0 / 0.5953 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2485, allocations: 42.44 kB / 0.5954 GB, free: 4.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2485, allocations: 0 / 0.5954 GB, free: 4.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002214/0.2488, allocations: 57.67 kB / 0.5954 GB, free: 4.027 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2488, allocations: 51.41 kB / 0.5955 GB, free: 3.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.2489, allocations: 89.86 kB / 0.5956 GB, free: 3.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2489, allocations: 25.7 kB / 0.5956 GB, free: 3.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.2489, allocations: 80.14 kB / 0.5957 GB, free: 3.754 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.249, allocations: 15.89 kB / 0.5957 GB, free: 3.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.249, allocations: 17.66 kB / 0.5957 GB, free: 3.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2491, allocations: 314.8 kB / 0.596 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.2492, allocations: 4 kB / 0.596 GB, free: 3.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.2492, allocations: 7.984 kB / 0.596 GB, free: 3.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.2493, allocations: 20.8 kB / 0.596 GB, free: 3.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2493, allocations: 0 / 0.596 GB, free: 3.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000109/0.2494, allocations: 57.67 kB / 0.5961 GB, free: 3.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2494, allocations: 7.938 kB / 0.5961 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2495, allocations: 0 / 0.5961 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2495, allocations: 0 / 0.5961 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.2499, allocations: 39.94 kB / 0.5961 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.2512, allocations: 1.317 MB / 0.5974 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.2512, allocations: 4 kB / 0.5974 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2512, allocations: 0 / 0.5974 GB, free: 1.801 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 9.249e-05/0.2513, allocations: 114.7 kB / 0.5975 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.2513, allocations: 0 / 0.5975 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.474e-05/0.2513, allocations: 7.5 kB / 0.5976 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2514, allocations: 4.094 kB / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.2514, allocations: 0 / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2514, allocations: 336 / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2515, allocations: 153.6 kB / 0.5977 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2515, allocations: 0 / 0.5977 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.2519, allocations: 47.92 kB / 0.5977 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2519, allocations: 7.938 kB / 0.5978 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2519, allocations: 4 kB / 0.5978 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.2532, allocations: 1.31 MB / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2532, allocations: 0 / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2533, allocations: 81.11 kB / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.2534, allocations: 77.11 kB / 0.5992 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-06/0.2534, allocations: 4 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.664e-05/0.2534, allocations: 4 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.2535, allocations: 3.984 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2535, allocations: 3.938 kB / 0.5992 GB, free: 15.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.824e-05/0.2535, allocations: 75.28 kB / 0.5993 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2535, allocations: 4 kB / 0.5993 GB, free: 15.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.2537, allocations: 0 / 0.5993 GB, free: 15.68 MB / 462.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.0001535/0.2539, allocations: 107.8 kB / 0.5994 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.2543, allocations: 59.91 kB / 0.5994 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2543, allocations: 7.938 kB / 0.5994 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.2546, allocations: 31.97 kB / 0.5995 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.2547, allocations: 11.98 kB / 0.5995 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.2551, allocations: 90.88 kB / 0.5996 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2553, allocations: 0.6731 MB / 0.6002 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.2554, allocations: 8 kB / 0.6002 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.2554, allocations: 11.44 kB / 0.6003 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2554, allocations: 0 / 0.6003 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Templates: time 0.002404/0.2578, allocations: 393.8 kB / 0.6006 GB, free: 14.25 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: