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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7713/0.7713, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001226/0.001226, allocations: 178.7 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.557/1.557, allocations: 170.7 MB / 383.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001734/0.001734, allocations: 110 kB / 454.6 MB, free: 9.73 MB / 346.7 MB [/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.1665/0.167, allocations: 73.4 MB / 0.6812 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6761, allocations: 102.5 MB / 0.7813 GB, free: 23.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.6763, allocations: 75.56 kB / 0.7813 GB, free: 23.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009865/0.6862, allocations: 3.295 MB / 0.7846 GB, free: 21.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6862, allocations: 0 / 0.7846 GB, free: 21.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.6863, allocations: 4 kB / 0.7846 GB, free: 21.86 MB / 490.7 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.0004123/0.6867, allocations: 388.3 kB / 0.7849 GB, free: 21.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6867, allocations: 8.562 kB / 0.7849 GB, free: 21.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.6871, allocations: 66.33 kB / 0.785 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.6872, allocations: 164.7 kB / 0.7852 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.6872, allocations: 4 kB / 0.7852 GB, free: 21.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.6873, allocations: 0 / 0.7852 GB, free: 21.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.6875, allocations: 94.59 kB / 0.7853 GB, free: 21.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6876, allocations: 0 / 0.7853 GB, free: 21.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.6876, allocations: 5.453 kB / 0.7853 GB, free: 21.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6876, allocations: 0 / 0.7853 GB, free: 21.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.688, allocations: 120.1 kB / 0.7854 GB, free: 21.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.6884, allocations: 288.5 kB / 0.7857 GB, free: 20.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.6888, allocations: 118.4 kB / 0.7858 GB, free: 20.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.6888, allocations: 7.984 kB / 0.7858 GB, free: 20.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.6888, allocations: 31.75 kB / 0.7858 GB, free: 20.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6888, allocations: 0 / 0.7858 GB, free: 20.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007754/0.6896, allocations: 205.7 kB / 0.786 GB, free: 20.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.6897, allocations: 55.53 kB / 0.7861 GB, free: 20.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.6897, allocations: 94.14 kB / 0.7861 GB, free: 20.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.6898, allocations: 29.7 kB / 0.7862 GB, free: 20.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.6898, allocations: 85.64 kB / 0.7863 GB, free: 20.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.6898, allocations: 7.625 kB / 0.7863 GB, free: 20.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.6898, allocations: 0 / 0.7863 GB, free: 20.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.6899, allocations: 312.8 kB / 0.7866 GB, free: 19.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.6901, allocations: 63.55 kB / 0.7866 GB, free: 19.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.6903, allocations: 56.42 kB / 0.7867 GB, free: 19.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.6905, allocations: 51.25 kB / 0.7867 GB, free: 19.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6905, allocations: 4 kB / 0.7867 GB, free: 19.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004126/0.6909, allocations: 158.8 kB / 0.7869 GB, free: 19.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.691, allocations: 4 kB / 0.7869 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.691, allocations: 0 / 0.7869 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.691, allocations: 0 / 0.7869 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.6912, allocations: 32.75 kB / 0.7869 GB, free: 19.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6912, allocations: 7.875 kB / 0.7869 GB, free: 19.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6914, allocations: 22.42 kB / 0.7869 GB, free: 19.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.6914, allocations: 0 / 0.7869 GB, free: 19.56 MB / 490.7 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 7.169e-05/0.6914, allocations: 120.3 kB / 0.7871 GB, free: 19.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.6915, allocations: 3.953 kB / 0.7871 GB, free: 19.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.6915, allocations: 4.578 kB / 0.7871 GB, free: 19.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.6915, allocations: 4 kB / 0.7871 GB, free: 19.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6915, allocations: 0 / 0.7871 GB, free: 19.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6916, allocations: 0.75 kB / 0.7871 GB, free: 19.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.6917, allocations: 170.2 kB / 0.7872 GB, free: 19.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6918, allocations: 0 / 0.7872 GB, free: 19.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.6919, allocations: 31.59 kB / 0.7873 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6919, allocations: 0 / 0.7873 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6919, allocations: 3.953 kB / 0.7873 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6919, allocations: 1.734 kB / 0.7873 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6919, allocations: 0 / 0.7873 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.6924, allocations: 248.4 kB / 0.7875 GB, free: 18.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.6925, allocations: 82.28 kB / 0.7876 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.6925, allocations: 0 / 0.7876 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.6926, allocations: 29.94 kB / 0.7876 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.6927, allocations: 2.625 kB / 0.7876 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.6927, allocations: 7.125 kB / 0.7876 GB, free: 18.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.6927, allocations: 80.78 kB / 0.7877 GB, free: 18.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6928, allocations: 0 / 0.7877 GB, free: 18.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.693, allocations: 17.64 kB / 0.7877 GB, free: 18.77 MB / 490.7 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.0001734/0.6932, allocations: 120.3 kB / 0.7878 GB, free: 18.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.6936, allocations: 120 kB / 0.7879 GB, free: 18.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6937, allocations: 0 / 0.7879 GB, free: 18.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.6939, allocations: 61.28 kB / 0.788 GB, free: 18.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.6941, allocations: 1.141 kB / 0.788 GB, free: 18.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.6946, allocations: 180.5 kB / 0.7882 GB, free: 18.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.6948, allocations: 0.6777 MB / 0.7888 GB, free: 17.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.6949, allocations: 8 kB / 0.7888 GB, free: 17.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.6949, allocations: 16.61 kB / 0.7889 GB, free: 17.64 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6949, allocations: 0 / 0.7889 GB, free: 17.64 MB / 490.7 MB Notification: Performance of Templates: time 0.002907/0.6978, allocations: 0.7168 MB / 0.7896 GB, free: 17.23 MB / 490.7 MB 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)