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.228/0.2302, allocations: 80.84 MB / 0.6706 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003077/0.2334, allocations: 1.459 MB / 0.672 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.2338, allocations: 99.67 kB / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2338, allocations: 0 / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.2339, allocations: 0 / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.234, allocations: 15.88 kB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.2342, allocations: 23.95 kB / 0.6722 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2344, allocations: 43.86 kB / 0.6722 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2345, allocations: 11.98 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.2346, allocations: 15.92 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.2347, allocations: 23.92 kB / 0.6723 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2347, allocations: 4 kB / 0.6723 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.2348, allocations: 23.92 kB / 0.6723 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.2348, allocations: 11.98 kB / 0.6723 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.2349, allocations: 27.84 kB / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2351, allocations: 59.75 kB / 0.6724 GB, free: 240 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2351, allocations: 0 / 0.6724 GB, free: 240 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2351, allocations: 0 / 0.6724 GB, free: 240 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.2351, allocations: 0 / 0.6724 GB, free: 240 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.0006928/0.2358, allocations: 375.3 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2358, allocations: 8.031 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.2359, allocations: 12.84 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.2361, allocations: 180.2 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.2361, allocations: 4.312 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2361, allocations: 4.375 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2365, allocations: 77.58 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2365, allocations: 0 / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.2365, allocations: 4 kB / 0.673 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2365, allocations: 4 kB / 0.673 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.2369, allocations: 71.92 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.2374, allocations: 296.8 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2377, allocations: 70.45 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2379, allocations: 44.92 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.2381, allocations: 109 kB / 0.6736 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2382, allocations: 30.56 kB / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.2382, allocations: 0 / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006252/0.2388, allocations: 157.5 kB / 0.6738 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.2389, allocations: 51.41 kB / 0.6738 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.239, allocations: 125.3 kB / 0.6739 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.239, allocations: 25.7 kB / 0.674 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.2391, allocations: 100 kB / 0.6741 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.2392, allocations: 7.906 kB / 0.6741 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.2392, allocations: 17.72 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2394, allocations: 318.8 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2396, allocations: 31.97 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.2397, allocations: 43.95 kB / 0.6745 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.2401, allocations: 76.78 kB / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2401, allocations: 0 / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004011/0.2405, allocations: 117.5 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2405, allocations: 6.344 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2405, allocations: 0 / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.2406, allocations: 4 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2408, allocations: 15.98 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2408, allocations: 0 / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.2409, allocations: 15.98 kB / 0.6747 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2409, allocations: 3.984 kB / 0.6747 GB, free: 13.64 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 0.0001208/0.241, allocations: 113.8 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.241, allocations: 4 kB / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.2414, allocations: 125.4 kB / 0.6749 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2415, allocations: 7.984 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2415, allocations: 0 / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2415, allocations: 0 / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.2417, allocations: 181.4 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2417, allocations: 7.984 kB / 0.6751 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.2418, allocations: 15.98 kB / 0.6751 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2418, allocations: 3.938 kB / 0.6751 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2418, allocations: 4 kB / 0.6751 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2418, allocations: 4 kB / 0.6751 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2418, allocations: 0 / 0.6751 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.2422, allocations: 211.7 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2423, allocations: 81.06 kB / 0.6754 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2423, allocations: 7.984 kB / 0.6754 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2424, allocations: 11.98 kB / 0.6754 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.2425, allocations: 7.984 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2425, allocations: 0 / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.264e-05/0.2426, allocations: 103.2 kB / 0.6755 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2426, allocations: 0 / 0.6755 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002317/0.2428, allocations: 16 kB / 0.6756 GB, free: 12.64 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.0001786/0.243, allocations: 111.2 kB / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.2434, allocations: 75.92 kB / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2434, allocations: 0 / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2436, allocations: 47.95 kB / 0.6758 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.2439, allocations: 4 kB / 0.6758 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.2443, allocations: 149.3 kB / 0.6759 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.2447, allocations: 0.6924 MB / 0.6766 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.2447, allocations: 0 / 0.6766 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.2448, allocations: 11.44 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2448, allocations: 4 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.003645/0.2484, allocations: 0.8028 MB / 0.6774 GB, free: 10.69 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)