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.4593/0.4601, allocations: 82.21 MB / 0.5935 GB, free: 21.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001679/0.4618, allocations: 1.173 MB / 0.5946 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002509/0.4621, allocations: 95.7 kB / 0.5947 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.4621, allocations: 0 / 0.5947 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.4622, allocations: 0 / 0.5947 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.4622, allocations: 4.594 kB / 0.5947 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.4624, allocations: 17.3 kB / 0.5947 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.4625, allocations: 43.84 kB / 0.5948 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.4626, allocations: 5.031 kB / 0.5948 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.4627, allocations: 23.91 kB / 0.5948 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.4627, allocations: 17.89 kB / 0.5948 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4628, allocations: 4 kB / 0.5948 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.4628, allocations: 23.97 kB / 0.5948 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.4629, allocations: 4 kB / 0.5948 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.4629, allocations: 37.64 kB / 0.5949 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.726e-05/0.463, allocations: 38.41 kB / 0.5949 GB, free: 20.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.463, allocations: 0.625 kB / 0.5949 GB, free: 20.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.463, allocations: 2.156 kB / 0.5949 GB, free: 20.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.463, allocations: 0 / 0.5949 GB, free: 20.17 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.0004605/0.4635, allocations: 384.4 kB / 0.5953 GB, free: 19.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4635, allocations: 9.5 kB / 0.5953 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.4636, allocations: 7.906 kB / 0.5953 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.4637, allocations: 179 kB / 0.5955 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.4637, allocations: 0 / 0.5955 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4637, allocations: 4.844 kB / 0.5955 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.464, allocations: 87.98 kB / 0.5956 GB, free: 19.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.464, allocations: 0 / 0.5956 GB, free: 19.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.464, allocations: 9.5 kB / 0.5956 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.464, allocations: 0 / 0.5956 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.4643, allocations: 91.92 kB / 0.5957 GB, free: 19.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.4646, allocations: 294.7 kB / 0.5959 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4648, allocations: 77.16 kB / 0.596 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.465, allocations: 58.09 kB / 0.5961 GB, free: 18.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.4652, allocations: 107.2 kB / 0.5962 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.4652, allocations: 30.56 kB / 0.5962 GB, free: 18.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.4652, allocations: 0.5 kB / 0.5962 GB, free: 18.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004854/0.4657, allocations: 179.3 kB / 0.5964 GB, free: 18.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.4657, allocations: 56.03 kB / 0.5964 GB, free: 18.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.4658, allocations: 123.8 kB / 0.5965 GB, free: 18.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.4658, allocations: 25.7 kB / 0.5966 GB, free: 18.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.4659, allocations: 96.05 kB / 0.5967 GB, free: 18.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4659, allocations: 11.84 kB / 0.5967 GB, free: 18.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4659, allocations: 3.938 kB / 0.5967 GB, free: 18.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.466, allocations: 320.1 kB / 0.597 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4661, allocations: 51.61 kB / 0.597 GB, free: 17.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.4662, allocations: 44.97 kB / 0.5971 GB, free: 17.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.4663, allocations: 47.05 kB / 0.5971 GB, free: 17.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4663, allocations: 0 / 0.5971 GB, free: 17.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002756/0.4666, allocations: 137.5 kB / 0.5972 GB, free: 17.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4666, allocations: 11.94 kB / 0.5973 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4667, allocations: 0 / 0.5973 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4667, allocations: 4 kB / 0.5973 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4668, allocations: 27.97 kB / 0.5973 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4668, allocations: 0 / 0.5973 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.4669, allocations: 15.98 kB / 0.5973 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.4669, allocations: 0 / 0.5973 GB, free: 17.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.467, allocations: 121.8 kB / 0.5974 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.467, allocations: 15.84 kB / 0.5974 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.4673, allocations: 133.8 kB / 0.5976 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4673, allocations: 4 kB / 0.5976 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4673, allocations: 0 / 0.5976 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4673, allocations: 4.031 kB / 0.5976 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.4675, allocations: 173.6 kB / 0.5977 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4675, allocations: 4 kB / 0.5977 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.4676, allocations: 23.98 kB / 0.5978 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4676, allocations: 7.953 kB / 0.5978 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4676, allocations: 3.984 kB / 0.5978 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4676, allocations: 0 / 0.5978 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4676, allocations: 0 / 0.5978 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4679, allocations: 223.4 kB / 0.598 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.468, allocations: 89 kB / 0.5981 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.468, allocations: 3.953 kB / 0.5981 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.4681, allocations: 19.98 kB / 0.5981 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.4681, allocations: 0 / 0.5981 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.4681, allocations: 3.984 kB / 0.5981 GB, free: 16.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.4682, allocations: 101.9 kB / 0.5982 GB, free: 16.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4682, allocations: 4 kB / 0.5982 GB, free: 16.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.4684, allocations: 8 kB / 0.5982 GB, free: 16.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.4686, allocations: 103.2 kB / 0.5983 GB, free: 16.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.4689, allocations: 107.8 kB / 0.5984 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4689, allocations: 0 / 0.5984 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.4691, allocations: 47.97 kB / 0.5984 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4694, allocations: 4 kB / 0.5985 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.4698, allocations: 160.5 kB / 0.5986 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.47, allocations: 0.6926 MB / 0.5993 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.47, allocations: 4 kB / 0.5993 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.4701, allocations: 11.44 kB / 0.5993 GB, free: 15.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4701, allocations: 0 / 0.5993 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Templates: time 0.004053/0.4741, allocations: 0.6411 MB / 0.5999 GB, free: 14.68 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: