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.2232/0.2242, allocations: 82.22 MB / 0.5941 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002012/0.2263, allocations: 1.188 MB / 0.5953 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004212/0.2267, allocations: 95.73 kB / 0.5954 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.2268, allocations: 0 / 0.5954 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.2269, allocations: 7.938 kB / 0.5954 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.227, allocations: 11.94 kB / 0.5954 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2272, allocations: 19.95 kB / 0.5954 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.97e-05/0.2273, allocations: 39.86 kB / 0.5954 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2274, allocations: 11.98 kB / 0.5954 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.2275, allocations: 19.92 kB / 0.5955 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.2276, allocations: 19.91 kB / 0.5955 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.2276, allocations: 4 kB / 0.5955 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.2277, allocations: 15.98 kB / 0.5955 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.2278, allocations: 11.94 kB / 0.5955 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.2278, allocations: 45.56 kB / 0.5956 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.228, allocations: 64 kB / 0.5956 GB, free: 13.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.228, allocations: 0 / 0.5956 GB, free: 13.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.228, allocations: 0 / 0.5956 GB, free: 13.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.228, allocations: 0 / 0.5956 GB, free: 13.48 MB / 462.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.0006161/0.2287, allocations: 382.6 kB / 0.596 GB, free: 13.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.2287, allocations: 12.02 kB / 0.596 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.2288, allocations: 8.844 kB / 0.596 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2289, allocations: 172.2 kB / 0.5962 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.229, allocations: 4.375 kB / 0.5962 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.229, allocations: 384 / 0.5962 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.2293, allocations: 101.7 kB / 0.5963 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2293, allocations: 0 / 0.5963 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2294, allocations: 0 / 0.5963 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2294, allocations: 4 kB / 0.5963 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.2297, allocations: 91.92 kB / 0.5964 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.2301, allocations: 288.8 kB / 0.5966 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.2304, allocations: 82.47 kB / 0.5967 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2305, allocations: 56.91 kB / 0.5968 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.2308, allocations: 109.1 kB / 0.5969 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2308, allocations: 34.56 kB / 0.5969 GB, free: 11.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.2308, allocations: 0 / 0.5969 GB, free: 11.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005968/0.2314, allocations: 177.5 kB / 0.5971 GB, free: 11.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.2315, allocations: 55.41 kB / 0.5971 GB, free: 11.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2316, allocations: 124.8 kB / 0.5972 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2316, allocations: 33.7 kB / 0.5973 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.2317, allocations: 88.12 kB / 0.5974 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.2317, allocations: 11.81 kB / 0.5974 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.2318, allocations: 17.66 kB / 0.5974 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2319, allocations: 322.7 kB / 0.5977 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.232, allocations: 47.95 kB / 0.5977 GB, free: 11.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2322, allocations: 55.95 kB / 0.5978 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2325, allocations: 96.78 kB / 0.5979 GB, free: 10.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2325, allocations: 0 / 0.5979 GB, free: 10.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003587/0.2329, allocations: 125.6 kB / 0.598 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2329, allocations: 8 kB / 0.598 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2329, allocations: 0 / 0.598 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2329, allocations: 3.984 kB / 0.598 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2331, allocations: 23.98 kB / 0.598 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2331, allocations: 3.938 kB / 0.598 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.2332, allocations: 23.89 kB / 0.5981 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2332, allocations: 0 / 0.5981 GB, free: 10.73 MB / 462.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 9.209e-05/0.2333, allocations: 119.4 kB / 0.5982 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.2333, allocations: 4.328 kB / 0.5982 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.2337, allocations: 153.5 kB / 0.5983 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2338, allocations: 0 / 0.5983 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2338, allocations: 0 / 0.5983 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2338, allocations: 0 / 0.5983 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.234, allocations: 181.6 kB / 0.5985 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.234, allocations: 0 / 0.5985 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.801e-05/0.2341, allocations: 19.98 kB / 0.5985 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.2341, allocations: 3.984 kB / 0.5985 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2341, allocations: 0 / 0.5985 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2341, allocations: 7.938 kB / 0.5985 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2341, allocations: 0 / 0.5985 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.2345, allocations: 231.3 kB / 0.5988 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.2346, allocations: 88.95 kB / 0.5988 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2346, allocations: 0 / 0.5988 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2347, allocations: 23.92 kB / 0.5989 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.2348, allocations: 7.984 kB / 0.5989 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2348, allocations: 4 kB / 0.5989 GB, free: 9.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.2349, allocations: 95.27 kB / 0.599 GB, free: 9.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2349, allocations: 0 / 0.599 GB, free: 9.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.2351, allocations: 12 kB / 0.599 GB, free: 9.703 MB / 462.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.0001455/0.2352, allocations: 103.2 kB / 0.5991 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.2356, allocations: 111.8 kB / 0.5992 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2357, allocations: 0 / 0.5992 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.2358, allocations: 51.97 kB / 0.5992 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2361, allocations: 6.656 kB / 0.5992 GB, free: 9.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.2365, allocations: 160.9 kB / 0.5994 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2368, allocations: 0.6887 MB / 0.6001 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.2368, allocations: 0 / 0.6001 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.2369, allocations: 11.44 kB / 0.6001 GB, free: 8.52 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2369, allocations: 0 / 0.6001 GB, free: 8.52 MB / 462.1 MB Notification: Performance of Templates: time 0.00316/0.2401, allocations: 0.6604 MB / 0.6007 GB, free: 7.859 MB / 462.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: