Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic") [/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.5667/0.5691, allocations: 80.81 MB / 0.5904 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002749/0.5719, allocations: 1.456 MB / 0.5918 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.5722, allocations: 96.06 kB / 0.5919 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.5723, allocations: 0.5938 kB / 0.5919 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.5723, allocations: 9.797 kB / 0.5919 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.5724, allocations: 10.5 kB / 0.5919 GB, free: 21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.5726, allocations: 27.88 kB / 0.592 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.5727, allocations: 42.94 kB / 0.592 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.5728, allocations: 9.719 kB / 0.592 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.5728, allocations: 18.8 kB / 0.592 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.5729, allocations: 25.25 kB / 0.5921 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.5729, allocations: 6.094 kB / 0.5921 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.573, allocations: 18.7 kB / 0.5921 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.573, allocations: 19.92 kB / 0.5921 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.5731, allocations: 15.91 kB / 0.5921 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.5732, allocations: 57.77 kB / 0.5922 GB, free: 20.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5732, allocations: 0.5312 kB / 0.5922 GB, free: 20.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5732, allocations: 4.438 kB / 0.5922 GB, free: 20.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.5732, allocations: 3.25 kB / 0.5922 GB, free: 20.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004873/0.5737, allocations: 377.3 kB / 0.5925 GB, free: 20.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5738, allocations: 10.41 kB / 0.5925 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.5738, allocations: 4.406 kB / 0.5925 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.5739, allocations: 176 kB / 0.5927 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.574, allocations: 2.469 kB / 0.5927 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.574, allocations: 3.125 kB / 0.5927 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.5742, allocations: 78.44 kB / 0.5928 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5743, allocations: 0 / 0.5928 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5743, allocations: 1.156 kB / 0.5928 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5743, allocations: 1.156 kB / 0.5928 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.5746, allocations: 80.33 kB / 0.5929 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.5749, allocations: 288.3 kB / 0.5932 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.5751, allocations: 72.41 kB / 0.5932 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.5753, allocations: 44.91 kB / 0.5933 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.5755, allocations: 105.1 kB / 0.5934 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5755, allocations: 38.48 kB / 0.5934 GB, free: 19.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5755, allocations: 4 kB / 0.5934 GB, free: 19.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005476/0.5761, allocations: 149.6 kB / 0.5935 GB, free: 19.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5761, allocations: 51.41 kB / 0.5936 GB, free: 19.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.5762, allocations: 129.2 kB / 0.5937 GB, free: 19.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5762, allocations: 25.7 kB / 0.5937 GB, free: 19.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.5763, allocations: 100.1 kB / 0.5938 GB, free: 19.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.5763, allocations: 7.844 kB / 0.5938 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.5763, allocations: 17.72 kB / 0.5939 GB, free: 19.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.5764, allocations: 322.8 kB / 0.5942 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5766, allocations: 43.95 kB / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.5767, allocations: 35.97 kB / 0.5942 GB, free: 18.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.577, allocations: 80.72 kB / 0.5943 GB, free: 18.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.577, allocations: 3.938 kB / 0.5943 GB, free: 18.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002956/0.5773, allocations: 117.5 kB / 0.5944 GB, free: 18.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5773, allocations: 4 kB / 0.5944 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5773, allocations: 0 / 0.5944 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5773, allocations: 4 kB / 0.5944 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5775, allocations: 15.92 kB / 0.5945 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.5775, allocations: 0 / 0.5945 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.5776, allocations: 15.97 kB / 0.5945 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.5776, allocations: 0 / 0.5945 GB, free: 18.4 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 (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 5.137e-05/0.5776, allocations: 121.8 kB / 0.5946 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.5777, allocations: 7.906 kB / 0.5946 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.578, allocations: 121.4 kB / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.578, allocations: 0 / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.578, allocations: 0 / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.578, allocations: 0 / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5782, allocations: 185.6 kB / 0.5949 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5782, allocations: 4 kB / 0.5949 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.5783, allocations: 15.98 kB / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5783, allocations: 0 / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5783, allocations: 0 / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5783, allocations: 0 / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5783, allocations: 0 / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.5786, allocations: 215.3 kB / 0.5951 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.5786, allocations: 81.02 kB / 0.5952 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.5787, allocations: 0 / 0.5952 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.5788, allocations: 11.98 kB / 0.5952 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.5788, allocations: 7.984 kB / 0.5952 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.5788, allocations: 4 kB / 0.5952 GB, free: 17.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.582e-05/0.5789, allocations: 95.27 kB / 0.5953 GB, free: 17.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5789, allocations: 4 kB / 0.5953 GB, free: 17.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.5791, allocations: 12 kB / 0.5953 GB, free: 17.43 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 (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.0001393/0.5792, allocations: 99.23 kB / 0.5954 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.5796, allocations: 83.8 kB / 0.5955 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5796, allocations: 0 / 0.5955 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.5798, allocations: 48.33 kB / 0.5955 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.58, allocations: 8 kB / 0.5956 GB, free: 17.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.5804, allocations: 153.4 kB / 0.5957 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.5806, allocations: 0.6924 MB / 0.5964 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.5806, allocations: 4.031 kB / 0.5964 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.5807, allocations: 11.44 kB / 0.5964 GB, free: 16.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5807, allocations: 3.938 kB / 0.5964 GB, free: 16.28 MB / 446.1 MB Notification: Performance of Templates: time 0.004034/0.5847, allocations: 0.7883 MB / 0.5972 GB, free: 15.5 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)