Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.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.2236/0.2265, allocations: 80.83 MB / 0.6706 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003405/0.23, allocations: 1.417 MB / 0.672 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000396/0.2304, allocations: 71.83 kB / 0.6721 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.2305, allocations: 0 / 0.6721 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.675e-05/0.2306, allocations: 7.938 kB / 0.6721 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.2307, allocations: 7.922 kB / 0.6721 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.231, allocations: 15.98 kB / 0.6721 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2311, allocations: 27.86 kB / 0.6721 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2312, allocations: 4 kB / 0.6721 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.2313, allocations: 11.98 kB / 0.6721 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.2314, allocations: 15.92 kB / 0.6721 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2314, allocations: 0 / 0.6721 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.2314, allocations: 15.98 kB / 0.6722 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2315, allocations: 8 kB / 0.6722 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2315, allocations: 11.92 kB / 0.6722 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2316, allocations: 35.83 kB / 0.6722 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2317, allocations: 4 kB / 0.6722 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2317, allocations: 0 / 0.6722 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2317, allocations: 0 / 0.6722 GB, free: 2.945 MB / 0.5137 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.0005285/0.2322, allocations: 339.5 kB / 0.6725 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2323, allocations: 12.03 kB / 0.6726 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.2324, allocations: 16.83 kB / 0.6726 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2326, allocations: 168.3 kB / 0.6727 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2326, allocations: 384 / 0.6727 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.2327, allocations: 8.375 kB / 0.6727 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2329, allocations: 57.59 kB / 0.6728 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2329, allocations: 11.92 kB / 0.6728 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2329, allocations: 3.938 kB / 0.6728 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.233, allocations: 0 / 0.6728 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.2332, allocations: 47.95 kB / 0.6729 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.2336, allocations: 268.8 kB / 0.6731 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.2338, allocations: 50.48 kB / 0.6732 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.234, allocations: 32.89 kB / 0.6732 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.234, allocations: 4 kB / 0.6732 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.234, allocations: 34.56 kB / 0.6732 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.234, allocations: 0 / 0.6732 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004109/0.2344, allocations: 101.5 kB / 0.6733 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.2345, allocations: 59.47 kB / 0.6734 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.2346, allocations: 105.8 kB / 0.6735 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2346, allocations: 29.7 kB / 0.6735 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2347, allocations: 80.14 kB / 0.6736 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.2347, allocations: 3.906 kB / 0.6736 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2347, allocations: 21.7 kB / 0.6736 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2349, allocations: 314.8 kB / 0.6739 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.235, allocations: 23.98 kB / 0.6739 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.84e-05/0.2351, allocations: 27.97 kB / 0.674 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2352, allocations: 48.81 kB / 0.674 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2352, allocations: 0 / 0.674 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002282/0.2355, allocations: 85.64 kB / 0.6741 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2355, allocations: 4 kB / 0.6741 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2355, allocations: 0 / 0.6741 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2355, allocations: 4 kB / 0.6741 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2357, allocations: 7.984 kB / 0.6741 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2357, allocations: 0 / 0.6741 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.2357, allocations: 15.98 kB / 0.6741 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2357, allocations: 0 / 0.6741 GB, free: 0.7734 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/0.2358, allocations: 118.5 kB / 0.6742 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.2359, allocations: 4 kB / 0.6742 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.2359, allocations: 3.531 kB / 0.6742 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.2359, allocations: 0 / 0.6742 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2359, allocations: 0 / 0.6742 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2359, allocations: 0 / 0.6742 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.2361, allocations: 173.8 kB / 0.6744 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2361, allocations: 11.92 kB / 0.6744 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.2362, allocations: 12 kB / 0.6744 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2362, allocations: 3.984 kB / 0.6744 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2362, allocations: 0 / 0.6744 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2362, allocations: 0 / 0.6744 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2362, allocations: 3.938 kB / 0.6744 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.2365, allocations: 183.3 kB / 0.6746 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2366, allocations: 89.12 kB / 0.6747 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2366, allocations: 0 / 0.6747 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.2367, allocations: 4 kB / 0.6747 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.2367, allocations: 3.984 kB / 0.6747 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2367, allocations: 0 / 0.6747 GB, free: 80 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.2368, allocations: 87.28 kB / 0.6748 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2368, allocations: 0 / 0.6748 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002106/0.237, allocations: 4 kB / 0.6748 GB, free: 15.99 MB / 0.5294 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.2372, allocations: 99.25 kB / 0.6749 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2374, allocations: 55.88 kB / 0.6749 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2374, allocations: 0 / 0.6749 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2375, allocations: 31.91 kB / 0.675 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2378, allocations: 0 / 0.675 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.2382, allocations: 121.6 kB / 0.6751 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2384, allocations: 0.6768 MB / 0.6757 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.2385, allocations: 3.906 kB / 0.6758 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.2385, allocations: 11.44 kB / 0.6758 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.2385, allocations: 0 / 0.6758 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.002831/0.2413, allocations: 0.5929 MB / 0.6763 GB, free: 14.35 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)