Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") [/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.2394/0.2416, allocations: 80.83 MB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002913/0.2445, allocations: 1.451 MB / 0.672 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.2449, allocations: 103.7 kB / 0.6721 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.245, allocations: 0 / 0.6721 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.891e-05/0.2451, allocations: 3.938 kB / 0.6721 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.2451, allocations: 11.94 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.2454, allocations: 23.91 kB / 0.6722 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.2455, allocations: 43.91 kB / 0.6722 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2456, allocations: 8 kB / 0.6722 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.2457, allocations: 15.92 kB / 0.6722 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.2457, allocations: 27.91 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2458, allocations: 7.938 kB / 0.6723 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.2459, allocations: 23.98 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.2459, allocations: 11.92 kB / 0.6723 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.246, allocations: 27.86 kB / 0.6723 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2461, allocations: 67.67 kB / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2461, allocations: 0 / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2461, allocations: 0 / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2462, allocations: 0 / 0.6724 GB, free: 148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006137/0.2468, allocations: 379.1 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2468, allocations: 8.031 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.2469, allocations: 8.891 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2471, allocations: 176.3 kB / 0.6729 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2471, allocations: 4.375 kB / 0.6729 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2471, allocations: 8.375 kB / 0.673 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.2474, allocations: 77.58 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2474, allocations: 0 / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2474, allocations: 0 / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2474, allocations: 0 / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.2477, allocations: 79.86 kB / 0.6731 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.2482, allocations: 284.9 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2485, allocations: 66.53 kB / 0.6734 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2486, allocations: 40.92 kB / 0.6735 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.2489, allocations: 109.1 kB / 0.6736 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.249, allocations: 38.5 kB / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.249, allocations: 0 / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005819/0.2496, allocations: 153.5 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.2496, allocations: 55.41 kB / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2497, allocations: 124.3 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2498, allocations: 29.7 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.2498, allocations: 88.12 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.2499, allocations: 23.84 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.2499, allocations: 9.719 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003099/0.2502, allocations: 326.8 kB / 0.6744 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2504, allocations: 31.97 kB / 0.6744 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2506, allocations: 35.95 kB / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.2509, allocations: 88.98 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2509, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003782/0.2512, allocations: 113.6 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2513, allocations: 8 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2513, allocations: 3.984 kB / 0.6747 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2513, allocations: 4 kB / 0.6747 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2514, allocations: 11.98 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2515, allocations: 7.938 kB / 0.6747 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.2515, allocations: 11.97 kB / 0.6747 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.2515, allocations: 4 kB / 0.6747 GB, free: 13.54 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): 3 * 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.605e-05/0.2516, allocations: 113.8 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2517, allocations: 4 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.252, allocations: 125.4 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2521, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2521, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2521, allocations: 4 kB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.2523, allocations: 181.5 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2523, allocations: 0 / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.155e-05/0.2524, allocations: 23.98 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2524, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.2524, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2524, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2524, allocations: 4 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.2528, allocations: 215.3 kB / 0.6753 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.2529, allocations: 85 kB / 0.6754 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.2529, allocations: 0 / 0.6754 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.253, allocations: 11.98 kB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.2531, allocations: 7.984 kB / 0.6754 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.2531, allocations: 0 / 0.6754 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.2532, allocations: 99.27 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2532, allocations: 0 / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002222/0.2534, allocations: 8 kB / 0.6755 GB, free: 12.57 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): 3 * 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.0001666/0.2536, allocations: 123.1 kB / 0.6757 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.2539, allocations: 75.92 kB / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.254, allocations: 0 / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2541, allocations: 47.89 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2544, allocations: 4 kB / 0.6758 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.2548, allocations: 145.4 kB / 0.6759 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.2552, allocations: 0.6885 MB / 0.6766 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.2552, allocations: 0 / 0.6766 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.2553, allocations: 11.44 kB / 0.6766 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2553, allocations: 0 / 0.6766 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.003539/0.2588, allocations: 0.8134 MB / 0.6774 GB, free: 10.61 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)