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.2184/0.2208, allocations: 80.83 MB / 0.6706 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00334/0.2242, allocations: 1.467 MB / 0.672 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.2246, allocations: 91.73 kB / 0.6721 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.2247, allocations: 4 kB / 0.6721 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.2248, allocations: 3.938 kB / 0.6721 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.2249, allocations: 7.938 kB / 0.6721 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2251, allocations: 23.91 kB / 0.6722 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2253, allocations: 47.84 kB / 0.6722 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2254, allocations: 11.98 kB / 0.6722 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.2255, allocations: 15.92 kB / 0.6722 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.2255, allocations: 23.92 kB / 0.6723 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2255, allocations: 4 kB / 0.6723 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.2256, allocations: 19.97 kB / 0.6723 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.2257, allocations: 15.94 kB / 0.6723 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.2257, allocations: 23.86 kB / 0.6723 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.2259, allocations: 63.73 kB / 0.6724 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2259, allocations: 0 / 0.6724 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2259, allocations: 3.938 kB / 0.6724 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.226, allocations: 0 / 0.6724 GB, free: 2.777 MB / 0.5137 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.000623/0.2266, allocations: 379.2 kB / 0.6727 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2266, allocations: 8.031 kB / 0.6728 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.2267, allocations: 8.938 kB / 0.6728 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.2268, allocations: 172.2 kB / 0.6729 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2269, allocations: 384 / 0.6729 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2269, allocations: 384 / 0.6729 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.2272, allocations: 85.58 kB / 0.673 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2272, allocations: 0 / 0.673 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2272, allocations: 0 / 0.673 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2272, allocations: 0 / 0.673 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2275, allocations: 83.86 kB / 0.6731 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.228, allocations: 288.7 kB / 0.6734 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.2282, allocations: 70.53 kB / 0.6734 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2284, allocations: 40.92 kB / 0.6735 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/0.2286, allocations: 109.1 kB / 0.6736 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2287, allocations: 34.5 kB / 0.6736 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2287, allocations: 0 / 0.6736 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005689/0.2293, allocations: 153.5 kB / 0.6738 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.2293, allocations: 51.41 kB / 0.6738 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2295, allocations: 128.8 kB / 0.6739 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2295, allocations: 25.7 kB / 0.674 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.2296, allocations: 100.1 kB / 0.674 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2296, allocations: 3.906 kB / 0.674 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.2297, allocations: 17.72 kB / 0.6741 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2298, allocations: 326.8 kB / 0.6744 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.23, allocations: 31.97 kB / 0.6744 GB, free: 484 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2301, allocations: 35.95 kB / 0.6744 GB, free: 448 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.2304, allocations: 84.72 kB / 0.6745 GB, free: 360 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2304, allocations: 0 / 0.6745 GB, free: 360 kB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003555/0.2308, allocations: 113.5 kB / 0.6746 GB, free: 240 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2308, allocations: 8 kB / 0.6746 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.2308, allocations: 4 kB / 0.6746 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.2309, allocations: 0 / 0.6746 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.231, allocations: 15.92 kB / 0.6747 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.231, allocations: 4 kB / 0.6747 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.2311, allocations: 7.984 kB / 0.6747 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2311, allocations: 4 kB / 0.6747 GB, free: 196 kB / 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.0001187/0.2313, allocations: 121.8 kB / 0.6748 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.2313, allocations: 11.91 kB / 0.6748 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.2317, allocations: 117.5 kB / 0.6749 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2317, allocations: 0 / 0.6749 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2317, allocations: 0 / 0.6749 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.2318, allocations: 7.984 kB / 0.6749 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.232, allocations: 185.4 kB / 0.6751 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.232, allocations: 0 / 0.6751 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2322, allocations: 23.97 kB / 0.6751 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2322, allocations: 0 / 0.6751 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2322, allocations: 0 / 0.6751 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2322, allocations: 4 kB / 0.6751 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2322, allocations: 0 / 0.6751 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2326, allocations: 215.3 kB / 0.6753 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.2327, allocations: 81.02 kB / 0.6754 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2327, allocations: 0 / 0.6754 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2328, allocations: 15.92 kB / 0.6754 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.2329, allocations: 11.98 kB / 0.6754 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2329, allocations: 0 / 0.6754 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000141/0.2331, allocations: 95.27 kB / 0.6755 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2331, allocations: 0 / 0.6755 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002636/0.2334, allocations: 16 kB / 0.6755 GB, free: 15.2 MB / 0.5294 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.0001857/0.2335, allocations: 99.19 kB / 0.6756 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.2339, allocations: 80.33 kB / 0.6757 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2339, allocations: 3.938 kB / 0.6757 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.2341, allocations: 43.97 kB / 0.6758 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2345, allocations: 7.984 kB / 0.6758 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.2351, allocations: 149.6 kB / 0.6759 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.2355, allocations: 0.6924 MB / 0.6766 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.2356, allocations: 0 / 0.6766 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.2356, allocations: 11.44 kB / 0.6766 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.2356, allocations: 7.938 kB / 0.6766 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.003801/0.2394, allocations: 0.7929 MB / 0.6774 GB, free: 13.26 MB / 0.5294 GB 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)