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.2359/0.2381, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002848/0.241, allocations: 1.415 MB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.2413, allocations: 80.05 kB / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.2413, allocations: 4 kB / 0.6721 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2414, allocations: 3.938 kB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.2415, allocations: 7.922 kB / 0.6721 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.2417, allocations: 11.98 kB / 0.6721 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.2418, allocations: 27.92 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2419, allocations: 7.984 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.242, allocations: 11.94 kB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.242, allocations: 7.984 kB / 0.6722 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.242, allocations: 4 kB / 0.6722 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.2421, allocations: 19.98 kB / 0.6722 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.2421, allocations: 3.938 kB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.2422, allocations: 15.92 kB / 0.6722 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2423, allocations: 39.83 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2423, allocations: 0 / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2423, allocations: 0 / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.2423, allocations: 0 / 0.6722 GB, free: 372 kB / 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.0005335/0.2429, allocations: 339.5 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2429, allocations: 8.031 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.2431, allocations: 20.91 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.2433, allocations: 172.3 kB / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2433, allocations: 384 / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2433, allocations: 8.25 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2436, allocations: 61.61 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2436, allocations: 0 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2436, allocations: 0 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2436, allocations: 4 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.2438, allocations: 47.94 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.2443, allocations: 268.8 kB / 0.6731 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.2445, allocations: 50.48 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2446, allocations: 32.89 kB / 0.6732 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.2446, allocations: 0 / 0.6732 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2447, allocations: 34.56 kB / 0.6732 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2447, allocations: 0 / 0.6732 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004903/0.2452, allocations: 101.7 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.2452, allocations: 51.41 kB / 0.6734 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2453, allocations: 109.8 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2454, allocations: 25.7 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.2454, allocations: 88.14 kB / 0.6736 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.2455, allocations: 7.891 kB / 0.6736 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2455, allocations: 13.72 kB / 0.6736 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2456, allocations: 318.8 kB / 0.6739 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2457, allocations: 28.25 kB / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.2458, allocations: 23.98 kB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.2461, allocations: 48.81 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2461, allocations: 0 / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002384/0.2463, allocations: 93.55 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2463, allocations: 4 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2463, allocations: 0 / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2464, allocations: 0 / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2465, allocations: 15.92 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2465, allocations: 0 / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.2466, allocations: 7.984 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2466, allocations: 8.031 kB / 0.6741 GB, free: 14.19 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 8.014e-05/0.2467, allocations: 113.8 kB / 0.6742 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.2467, allocations: 4 kB / 0.6743 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.2468, allocations: 3.531 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2468, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2468, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2468, allocations: 3.984 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.247, allocations: 173.6 kB / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.247, allocations: 0 / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.247, allocations: 15.98 kB / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2471, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2471, allocations: 3.938 kB / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2471, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2471, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2474, allocations: 183.4 kB / 0.6746 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.2474, allocations: 81.02 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2474, allocations: 0 / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.2475, allocations: 15.98 kB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.2476, allocations: 0 / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2476, allocations: 0 / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.2476, allocations: 79.28 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2477, allocations: 0 / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002219/0.2479, allocations: 12 kB / 0.6748 GB, free: 13.41 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 (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.0001216/0.248, allocations: 107.2 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.2483, allocations: 55.89 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2483, allocations: 0 / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2484, allocations: 31.91 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2488, allocations: 4.312 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.2492, allocations: 117.5 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2495, allocations: 0.6806 MB / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.2495, allocations: 0 / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.2496, allocations: 7.438 kB / 0.6758 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2496, allocations: 8 kB / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.00281/0.2524, allocations: 0.5791 MB / 0.6763 GB, free: 11.77 MB / 0.5137 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)