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.2042/0.2062, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002849/0.2091, allocations: 1.4 MB / 0.672 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2106, allocations: 0.745 MB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2107, allocations: 0 / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.2107, allocations: 3.938 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.2108, allocations: 11.92 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.2113, allocations: 103.6 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.2114, allocations: 35.91 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2115, allocations: 4 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.2116, allocations: 15.92 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2117, allocations: 23.91 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2117, allocations: 4 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.2121, allocations: 215.6 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.2122, allocations: 15.91 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.2122, allocations: 11.92 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.2125, allocations: 155.6 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2125, allocations: 4 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2125, allocations: 4 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2125, allocations: 0 / 0.6733 GB, free: 15.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005958/0.2131, allocations: 363.5 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2132, allocations: 8.031 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.2137, allocations: 68.84 kB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2138, allocations: 172.2 kB / 0.6739 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2139, allocations: 384 / 0.6739 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2139, allocations: 7.938 kB / 0.6739 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.2142, allocations: 85.62 kB / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2142, allocations: 0 / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2143, allocations: 0 / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2143, allocations: 0 / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.2147, allocations: 95.89 kB / 0.6741 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.2153, allocations: 304.7 kB / 0.6744 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.2157, allocations: 94.48 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.2159, allocations: 56.88 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.216, allocations: 0 / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.216, allocations: 34.56 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.216, allocations: 0 / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007776/0.2168, allocations: 173.6 kB / 0.6747 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2168, allocations: 55.41 kB / 0.6747 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.2169, allocations: 97.86 kB / 0.6748 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.217, allocations: 25.7 kB / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.217, allocations: 92.06 kB / 0.675 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2171, allocations: 7.906 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2171, allocations: 13.72 kB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2173, allocations: 318.8 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.2175, allocations: 47.97 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2177, allocations: 43.95 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.2181, allocations: 92.83 kB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2181, allocations: 0 / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004431/0.2186, allocations: 121.5 kB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2186, allocations: 13.86 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2186, allocations: 0 / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2186, allocations: 0 / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2188, allocations: 19.97 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2188, allocations: 4.031 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2189, allocations: 15.98 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2189, allocations: 0 / 0.6756 GB, free: 12.64 MB / 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 (2): * Single equations (assignments): 2 * 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 8.303e-05/0.219, allocations: 113.8 kB / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.2191, allocations: 15.83 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.2191, allocations: 3.125 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2191, allocations: 4 kB / 0.6758 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2191, allocations: 4 kB / 0.6758 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2191, allocations: 0 / 0.6758 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2193, allocations: 173.6 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2193, allocations: 0 / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2195, allocations: 19.97 kB / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2195, allocations: 0 / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2195, allocations: 4 kB / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2195, allocations: 0 / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2195, allocations: 7.984 kB / 0.676 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.22, allocations: 223.3 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.2201, allocations: 77.11 kB / 0.6762 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2201, allocations: 0 / 0.6762 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2202, allocations: 20.22 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.2203, allocations: 0 / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2203, allocations: 12.03 kB / 0.6763 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.2203, allocations: 87.22 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2203, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002582/0.2206, allocations: 19.92 kB / 0.6764 GB, free: 11.78 MB / 0.5137 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 (2): * Single equations (assignments): 2 * 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.0001665/0.2208, allocations: 107.2 kB / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.2213, allocations: 103.8 kB / 0.6766 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2213, allocations: 0 / 0.6766 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.2215, allocations: 48.02 kB / 0.6766 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2218, allocations: 8 kB / 0.6766 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.2225, allocations: 165.3 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2227, allocations: 0.6768 MB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.093e-05/0.2228, allocations: 12 kB / 0.6775 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.2229, allocations: 11.44 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2229, allocations: 0 / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.003427/0.2263, allocations: 0.8279 MB / 0.6783 GB, free: 9.773 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (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)