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.228/0.23, allocations: 80.85 MB / 0.5897 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003862/0.2339, allocations: 1.48 MB / 0.5911 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004263/0.2344, allocations: 75.75 kB / 0.5912 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.2344, allocations: 0 / 0.5912 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.2345, allocations: 3.938 kB / 0.5912 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.2346, allocations: 7.938 kB / 0.5912 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.2348, allocations: 11.98 kB / 0.5912 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.2349, allocations: 19.94 kB / 0.5912 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.235, allocations: 15.98 kB / 0.5913 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.2351, allocations: 4 kB / 0.5913 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.2351, allocations: 11.92 kB / 0.5913 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2352, allocations: 4 kB / 0.5913 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.2353, allocations: 15.98 kB / 0.5913 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.2353, allocations: 7.922 kB / 0.5913 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2353, allocations: 15.92 kB / 0.5913 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2354, allocations: 20.25 kB / 0.5913 GB, free: 5.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2355, allocations: 0 / 0.5913 GB, free: 5.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2355, allocations: 0 / 0.5913 GB, free: 5.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2355, allocations: 4 kB / 0.5913 GB, free: 5.391 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.0005575/0.236, allocations: 347.4 kB / 0.5917 GB, free: 5.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2361, allocations: 11.97 kB / 0.5917 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.2363, allocations: 16.83 kB / 0.5917 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2364, allocations: 172.4 kB / 0.5919 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2365, allocations: 384 / 0.5919 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.2365, allocations: 4.375 kB / 0.5919 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2367, allocations: 61.8 kB / 0.5919 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.2367, allocations: 3.938 kB / 0.5919 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2367, allocations: 0 / 0.5919 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2367, allocations: 0 / 0.5919 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.2369, allocations: 51.94 kB / 0.592 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.2373, allocations: 260.9 kB / 0.5922 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2375, allocations: 54.53 kB / 0.5923 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2376, allocations: 28.91 kB / 0.5923 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.2376, allocations: 0 / 0.5923 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2377, allocations: 34.5 kB / 0.5923 GB, free: 4.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2377, allocations: 4 kB / 0.5923 GB, free: 4.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003941/0.2381, allocations: 113.5 kB / 0.5925 GB, free: 4.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2381, allocations: 51.41 kB / 0.5925 GB, free: 4.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2382, allocations: 101.9 kB / 0.5926 GB, free: 3.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2383, allocations: 25.7 kB / 0.5926 GB, free: 3.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.2383, allocations: 92.19 kB / 0.5927 GB, free: 3.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2383, allocations: 11.89 kB / 0.5927 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2384, allocations: 13.72 kB / 0.5927 GB, free: 3.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2385, allocations: 314.8 kB / 0.593 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2387, allocations: 27.97 kB / 0.5931 GB, free: 3.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.2387, allocations: 23.92 kB / 0.5931 GB, free: 3.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2389, allocations: 56.86 kB / 0.5931 GB, free: 3.328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2389, allocations: 4 kB / 0.5931 GB, free: 3.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002202/0.2392, allocations: 73.66 kB / 0.5932 GB, free: 3.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.2393, allocations: 6.031 kB / 0.5932 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2393, allocations: 8.031 kB / 0.5932 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2393, allocations: 0 / 0.5932 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2395, allocations: 11.98 kB / 0.5932 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2395, allocations: 0 / 0.5932 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.2395, allocations: 7.984 kB / 0.5932 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2396, allocations: 0 / 0.5932 GB, free: 3.215 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 (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.687e-05/0.2396, allocations: 122.5 kB / 0.5934 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.2397, allocations: 3.984 kB / 0.5934 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.2397, allocations: 15.52 kB / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2397, allocations: 0 / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2397, allocations: 0 / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2397, allocations: 4 kB / 0.5934 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2399, allocations: 165.5 kB / 0.5935 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2399, allocations: 0 / 0.5935 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.24, allocations: 12.23 kB / 0.5936 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.24, allocations: 0 / 0.5936 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.24, allocations: 4 kB / 0.5936 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.24, allocations: 0 / 0.5936 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.24, allocations: 4 kB / 0.5936 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.2403, allocations: 179.4 kB / 0.5937 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.2404, allocations: 81.11 kB / 0.5938 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.2404, allocations: 0 / 0.5938 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.2405, allocations: 7.984 kB / 0.5938 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2406, allocations: 4.031 kB / 0.5938 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2406, allocations: 7.938 kB / 0.5938 GB, free: 2.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.242e-05/0.2406, allocations: 87.27 kB / 0.5939 GB, free: 2.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2406, allocations: 0 / 0.5939 GB, free: 2.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.2409, allocations: 4 kB / 0.5939 GB, free: 2.438 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 (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.000129/0.241, allocations: 99.19 kB / 0.594 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.2413, allocations: 51.95 kB / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2413, allocations: 0 / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2414, allocations: 27.97 kB / 0.5941 GB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2417, allocations: 7.938 kB / 0.5941 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.242, allocations: 135.2 kB / 0.5942 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2424, allocations: 0.677 MB / 0.5949 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.2424, allocations: 0 / 0.5949 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.2424, allocations: 11.44 kB / 0.5949 GB, free: 1.371 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2424, allocations: 0 / 0.5949 GB, free: 1.371 MB / 446.1 MB Notification: Performance of Templates: time 0.002753/0.2452, allocations: 0.4978 MB / 0.5954 GB, free: 0.875 MB / 446.1 MB 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)