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.2092/0.21, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00229/0.2123, allocations: 1.168 MB / 0.5945 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003656/0.2127, allocations: 95.8 kB / 0.5946 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.2128, allocations: 0 / 0.5946 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.054e-05/0.2129, allocations: 3.938 kB / 0.5946 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.2129, allocations: 11.97 kB / 0.5946 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2132, allocations: 15.98 kB / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.2133, allocations: 31.91 kB / 0.5947 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2134, allocations: 8 kB / 0.5947 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.2135, allocations: 7.984 kB / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.2136, allocations: 27.89 kB / 0.5947 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2136, allocations: 0 / 0.5947 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2137, allocations: 19.98 kB / 0.5947 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.2137, allocations: 7.938 kB / 0.5947 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.2138, allocations: 33.69 kB / 0.5948 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2139, allocations: 40.16 kB / 0.5948 GB, free: 4.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2139, allocations: 4 kB / 0.5948 GB, free: 4.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2139, allocations: 0 / 0.5948 GB, free: 4.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2139, allocations: 0 / 0.5948 GB, free: 4.5 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.0006712/0.2146, allocations: 375.1 kB / 0.5952 GB, free: 4.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.2147, allocations: 8.031 kB / 0.5952 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.2147, allocations: 19.84 kB / 0.5952 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2149, allocations: 178.9 kB / 0.5954 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.215, allocations: 7.938 kB / 0.5954 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.215, allocations: 4 kB / 0.5954 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2153, allocations: 81.61 kB / 0.5954 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.2153, allocations: 4 kB / 0.5954 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2154, allocations: 4 kB / 0.5954 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2154, allocations: 3.938 kB / 0.5955 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.2157, allocations: 95.91 kB / 0.5955 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.2162, allocations: 288.9 kB / 0.5958 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.2165, allocations: 78.53 kB / 0.5959 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.2169, allocations: 105.2 kB / 0.596 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2169, allocations: 30.56 kB / 0.596 GB, free: 3.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2169, allocations: 0 / 0.596 GB, free: 3.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006249/0.2176, allocations: 185.4 kB / 0.5962 GB, free: 2.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2176, allocations: 55.41 kB / 0.5963 GB, free: 2.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2177, allocations: 128.8 kB / 0.5964 GB, free: 2.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2178, allocations: 25.7 kB / 0.5964 GB, free: 2.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.2178, allocations: 96.12 kB / 0.5965 GB, free: 2.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.2179, allocations: 11.91 kB / 0.5965 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2179, allocations: 0 / 0.5965 GB, free: 2.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.218, allocations: 314.8 kB / 0.5968 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2182, allocations: 47.95 kB / 0.5969 GB, free: 2.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2183, allocations: 52.14 kB / 0.5969 GB, free: 2.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2185, allocations: 48.05 kB / 0.5969 GB, free: 2.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2185, allocations: 0 / 0.5969 GB, free: 2.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003335/0.2188, allocations: 145.4 kB / 0.5971 GB, free: 1.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2189, allocations: 8 kB / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2189, allocations: 0 / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2189, allocations: 0 / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.219, allocations: 19.98 kB / 0.5971 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.219, allocations: 0 / 0.5971 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.2191, allocations: 23.97 kB / 0.5971 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2191, allocations: 0 / 0.5971 GB, free: 1.875 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 0.0001076/0.2192, allocations: 116.8 kB / 0.5972 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2193, allocations: 11.86 kB / 0.5973 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.2196, allocations: 137.5 kB / 0.5974 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2197, allocations: 4 kB / 0.5974 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2197, allocations: 7.875 kB / 0.5974 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2197, allocations: 0 / 0.5974 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.2199, allocations: 177.6 kB / 0.5976 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2199, allocations: 4 kB / 0.5976 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.22, allocations: 19.98 kB / 0.5976 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.22, allocations: 7.953 kB / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.22, allocations: 0 / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.22, allocations: 0 / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.22, allocations: 0 / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.2205, allocations: 231.4 kB / 0.5978 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.2206, allocations: 85.05 kB / 0.5979 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.2206, allocations: 11.89 kB / 0.5979 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2207, allocations: 15.98 kB / 0.5979 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2208, allocations: 3.984 kB / 0.5979 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2208, allocations: 0 / 0.5979 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.119e-05/0.2208, allocations: 99.27 kB / 0.598 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2208, allocations: 11.94 kB / 0.598 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.2211, allocations: 8 kB / 0.598 GB, free: 0.8438 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.0002092/0.2213, allocations: 103.2 kB / 0.5981 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.2217, allocations: 99.92 kB / 0.5982 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2217, allocations: 0 / 0.5982 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2219, allocations: 55.95 kB / 0.5983 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2221, allocations: 4 kB / 0.5983 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.2225, allocations: 156.5 kB / 0.5984 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.2228, allocations: 0.6926 MB / 0.5991 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.2229, allocations: 7.938 kB / 0.5991 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.2229, allocations: 7.438 kB / 0.5991 GB, free: 15.66 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.2229, allocations: 0 / 0.5991 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Templates: time 0.003089/0.226, allocations: 0.6513 MB / 0.5998 GB, free: 15.02 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: