Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") [/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.2135/0.2143, allocations: 82.21 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001924/0.2163, allocations: 1.128 MB / 0.5946 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2175, allocations: 0.6839 MB / 0.5952 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.2175, allocations: 0 / 0.5952 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.2175, allocations: 7.938 kB / 0.5952 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.2176, allocations: 0 / 0.5952 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.218, allocations: 83.77 kB / 0.5953 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.2181, allocations: 27.91 kB / 0.5954 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.2181, allocations: 4 kB / 0.5954 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.2182, allocations: 19.86 kB / 0.5954 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.2183, allocations: 15.92 kB / 0.5954 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2183, allocations: 4 kB / 0.5954 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.2187, allocations: 219.5 kB / 0.5956 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.2187, allocations: 7.984 kB / 0.5956 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.2187, allocations: 25.7 kB / 0.5956 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.219, allocations: 108.1 kB / 0.5957 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.219, allocations: 0 / 0.5957 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.219, allocations: 0 / 0.5957 GB, free: 3.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.219, allocations: 0 / 0.5957 GB, free: 3.629 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005575/0.2196, allocations: 371.3 kB / 0.5961 GB, free: 3.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.2196, allocations: 8.031 kB / 0.5961 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.2201, allocations: 79.91 kB / 0.5962 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2202, allocations: 174.8 kB / 0.5963 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.2203, allocations: 0 / 0.5963 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2203, allocations: 11.95 kB / 0.5964 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.2206, allocations: 89.62 kB / 0.5964 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2206, allocations: 4 kB / 0.5964 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2206, allocations: 0 / 0.5964 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2207, allocations: 4 kB / 0.5964 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.221, allocations: 115.9 kB / 0.5966 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.2216, allocations: 304.9 kB / 0.5968 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.222, allocations: 118.4 kB / 0.597 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.2222, allocations: 68.88 kB / 0.597 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2222, allocations: 0 / 0.597 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2222, allocations: 30.56 kB / 0.5971 GB, free: 2.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2222, allocations: 3.938 kB / 0.5971 GB, free: 2.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006563/0.2229, allocations: 205.6 kB / 0.5973 GB, free: 1.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2229, allocations: 55.34 kB / 0.5973 GB, free: 1.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.223, allocations: 101.9 kB / 0.5974 GB, free: 1.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.223, allocations: 25.7 kB / 0.5974 GB, free: 1.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.2231, allocations: 84.12 kB / 0.5975 GB, free: 1.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.2231, allocations: 3.906 kB / 0.5975 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.2231, allocations: 4 kB / 0.5975 GB, free: 1.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2232, allocations: 318.8 kB / 0.5978 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.2234, allocations: 55.98 kB / 0.5979 GB, free: 1.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2236, allocations: 55.95 kB / 0.5979 GB, free: 1.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2238, allocations: 56.02 kB / 0.598 GB, free: 1.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2238, allocations: 0 / 0.598 GB, free: 1.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004201/0.2242, allocations: 149.6 kB / 0.5981 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2242, allocations: 4 kB / 0.5981 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2243, allocations: 0 / 0.5981 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2243, allocations: 0 / 0.5981 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2244, allocations: 43.86 kB / 0.5982 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2245, allocations: 3.984 kB / 0.5982 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2246, allocations: 23.97 kB / 0.5982 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2246, allocations: 8 kB / 0.5982 GB, free: 0.8828 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 (2): * Single equations (assignments): 2 * 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 8.332e-05/0.2247, allocations: 110.7 kB / 0.5983 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2247, allocations: 3.906 kB / 0.5983 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2247, allocations: 11.12 kB / 0.5983 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2247, allocations: 0 / 0.5983 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2247, allocations: 0 / 0.5983 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2247, allocations: 3.984 kB / 0.5983 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2249, allocations: 169.9 kB / 0.5985 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2249, allocations: 0 / 0.5985 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2251, allocations: 35.97 kB / 0.5985 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2251, allocations: 0 / 0.5985 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2251, allocations: 0 / 0.5985 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2251, allocations: 0 / 0.5985 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2251, allocations: 0 / 0.5985 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.2255, allocations: 255.3 kB / 0.5988 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.2256, allocations: 77.11 kB / 0.5988 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2256, allocations: 3.984 kB / 0.5988 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2258, allocations: 24.02 kB / 0.5989 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2258, allocations: 7.984 kB / 0.5989 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2258, allocations: 0 / 0.5989 GB, free: 108 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.2259, allocations: 83.28 kB / 0.599 GB, free: 24 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2259, allocations: 0 / 0.599 GB, free: 24 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.2261, allocations: 12 kB / 0.599 GB, free: 12 kB / 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 (2): * Single equations (assignments): 2 * 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.0001711/0.2263, allocations: 115.2 kB / 0.5991 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2267, allocations: 115.9 kB / 0.5992 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2267, allocations: 4.062 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2269, allocations: 67.88 kB / 0.5993 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2272, allocations: 2.672 kB / 0.5993 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.2277, allocations: 184.6 kB / 0.5994 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.2279, allocations: 0.6731 MB / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.228, allocations: 15.98 kB / 0.6001 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.228, allocations: 7.438 kB / 0.6001 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.228, allocations: 0 / 0.6001 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.00291/0.231, allocations: 0.711 MB / 0.6008 GB, free: 14.07 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: