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.2397/0.2422, allocations: 80.84 MB / 0.6706 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003173/0.2454, allocations: 1.459 MB / 0.672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003684/0.2458, allocations: 103.6 kB / 0.6721 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.2459, allocations: 0 / 0.6721 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.246, allocations: 3.938 kB / 0.6721 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.246, allocations: 7.922 kB / 0.6721 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2463, allocations: 23.97 kB / 0.6722 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.2464, allocations: 43.84 kB / 0.6722 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2465, allocations: 12 kB / 0.6722 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.688e-05/0.2466, allocations: 19.92 kB / 0.6722 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.2467, allocations: 15.92 kB / 0.6723 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2467, allocations: 4 kB / 0.6723 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.2468, allocations: 23.97 kB / 0.6723 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.2469, allocations: 11.94 kB / 0.6723 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2469, allocations: 27.84 kB / 0.6723 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2471, allocations: 59.75 kB / 0.6724 GB, free: 316 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2471, allocations: 0 / 0.6724 GB, free: 316 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2471, allocations: 0 / 0.6724 GB, free: 316 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2471, allocations: 8 kB / 0.6724 GB, free: 308 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.0006492/0.2478, allocations: 371.3 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2478, allocations: 12.03 kB / 0.6728 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.2479, allocations: 12.84 kB / 0.6728 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.248, allocations: 184.1 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.248, allocations: 384 / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2481, allocations: 384 / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2484, allocations: 81.59 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2484, allocations: 0 / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2484, allocations: 0 / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2484, allocations: 0 / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2487, allocations: 79.91 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.2491, allocations: 292.7 kB / 0.6734 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.2494, allocations: 62.53 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2496, allocations: 48.91 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.2499, allocations: 109.1 kB / 0.6736 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.2499, allocations: 38.5 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.2499, allocations: 0 / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006198/0.2505, allocations: 149.5 kB / 0.6738 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2506, allocations: 51.41 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2507, allocations: 129 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2507, allocations: 25.7 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.2508, allocations: 96.05 kB / 0.6741 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2508, allocations: 3.906 kB / 0.6741 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.2509, allocations: 21.64 kB / 0.6741 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.251, allocations: 318.8 kB / 0.6744 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2512, allocations: 43.95 kB / 0.6744 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.2513, allocations: 31.97 kB / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.2517, allocations: 84.77 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2517, allocations: 4 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003377/0.252, allocations: 109.5 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.252, allocations: 4 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.252, allocations: 0 / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2521, allocations: 0 / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.2522, allocations: 19.97 kB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2522, allocations: 7.984 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.2523, allocations: 11.98 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2523, allocations: 0 / 0.6747 GB, free: 13.71 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.0001177/0.2525, allocations: 117.8 kB / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2525, allocations: 4 kB / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.2529, allocations: 125.4 kB / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2529, allocations: 0 / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2529, allocations: 0 / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2529, allocations: 0 / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.2532, allocations: 193.4 kB / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2532, allocations: 0 / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.877e-05/0.2533, allocations: 15.98 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2533, allocations: 0 / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2533, allocations: 4 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2533, allocations: 0 / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2533, allocations: 4.375 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.2537, allocations: 207.4 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.2538, allocations: 92.89 kB / 0.6754 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2538, allocations: 3.984 kB / 0.6754 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2539, allocations: 15.98 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.254, allocations: 4 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.254, allocations: 0 / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.429e-05/0.2541, allocations: 99.27 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2541, allocations: 0 / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002491/0.2543, allocations: 15.98 kB / 0.6755 GB, free: 12.71 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.0001748/0.2545, allocations: 107.2 kB / 0.6757 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.2549, allocations: 79.92 kB / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2549, allocations: 0 / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2551, allocations: 43.89 kB / 0.6758 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2555, allocations: 11.94 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.2559, allocations: 149.4 kB / 0.6759 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2562, allocations: 0.6885 MB / 0.6766 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.2563, allocations: 0 / 0.6766 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.2563, allocations: 11.44 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2563, allocations: 0 / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.003911/0.2602, allocations: 0.8112 MB / 0.6774 GB, free: 10.76 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)