Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5153/0.5153, allocations: 95.62 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001013/0.001013, allocations: 164.2 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.389/1.389, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00189/0.00189, allocations: 111.3 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.5824, allocations: 93.77 MB / 0.6035 GB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5827, allocations: 72.02 kB / 0.6036 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004691/0.5874, allocations: 1.608 MB / 0.6052 GB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5874, allocations: 0 / 0.6052 GB, free: 12.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.5874, allocations: 0 / 0.6052 GB, free: 12.03 MB / 410.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.0004062/0.5878, allocations: 347.9 kB / 0.6055 GB, free: 11.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5879, allocations: 15.98 kB / 0.6055 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.588, allocations: 10.97 kB / 0.6055 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.5881, allocations: 163.1 kB / 0.6057 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5881, allocations: 3.984 kB / 0.6057 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.5881, allocations: 0 / 0.6057 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5883, allocations: 56.83 kB / 0.6057 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5883, allocations: 0 / 0.6057 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5884, allocations: 0 / 0.6057 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.5884, allocations: 11.98 kB / 0.6058 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.5885, allocations: 42.47 kB / 0.6058 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.589, allocations: 265.5 kB / 0.6061 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5891, allocations: 41.45 kB / 0.6061 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.5896, allocations: 428.8 kB / 0.6065 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.5897, allocations: 41.06 kB / 0.6065 GB, free: 10.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5897, allocations: 0 / 0.6065 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003796/0.59, allocations: 95.92 kB / 0.6066 GB, free: 10.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.5901, allocations: 55.41 kB / 0.6067 GB, free: 10.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.5902, allocations: 92.44 kB / 0.6068 GB, free: 10.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5902, allocations: 25.7 kB / 0.6068 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.5902, allocations: 87.42 kB / 0.6069 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.5903, allocations: 4 kB / 0.6069 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.5903, allocations: 0 / 0.6069 GB, free: 10.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5904, allocations: 318.9 kB / 0.6072 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.5905, allocations: 19.48 kB / 0.6072 GB, free: 9.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.5906, allocations: 23.3 kB / 0.6072 GB, free: 9.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.5907, allocations: 27.98 kB / 0.6073 GB, free: 9.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5907, allocations: 0 / 0.6073 GB, free: 9.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.5909, allocations: 80.56 kB / 0.6073 GB, free: 9.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5909, allocations: 9.359 kB / 0.6073 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5909, allocations: 7.969 kB / 0.6074 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5909, allocations: 0 / 0.6074 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.591, allocations: 15.98 kB / 0.6074 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5911, allocations: 4.641 kB / 0.6074 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.5911, allocations: 7.984 kB / 0.6074 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.5911, allocations: 0 / 0.6074 GB, free: 9.535 MB / 410.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 8.442e-05/0.5912, allocations: 112.6 kB / 0.6075 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.5913, allocations: 4 kB / 0.6075 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.5915, allocations: 95.25 kB / 0.6076 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5915, allocations: 0 / 0.6076 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5915, allocations: 4 kB / 0.6076 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5915, allocations: 4.031 kB / 0.6076 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.5917, allocations: 160.7 kB / 0.6077 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5917, allocations: 0 / 0.6077 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.5918, allocations: 11.98 kB / 0.6078 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5918, allocations: 0 / 0.6078 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.5918, allocations: 2.312 kB / 0.6078 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.5918, allocations: 7.953 kB / 0.6078 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5918, allocations: 3.984 kB / 0.6078 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.5921, allocations: 174 kB / 0.6079 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.5921, allocations: 81.02 kB / 0.608 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.5921, allocations: 4 kB / 0.608 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.5922, allocations: 12.02 kB / 0.608 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.5923, allocations: 3.953 kB / 0.608 GB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.5923, allocations: 4 kB / 0.608 GB, free: 8.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.5923, allocations: 82.59 kB / 0.6081 GB, free: 8.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5923, allocations: 0 / 0.6081 GB, free: 8.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.5925, allocations: 7.984 kB / 0.6081 GB, free: 8.707 MB / 410.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.000153/0.5927, allocations: 99.25 kB / 0.6082 GB, free: 8.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.5929, allocations: 49.84 kB / 0.6083 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5929, allocations: 0 / 0.6083 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.593, allocations: 31.28 kB / 0.6083 GB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.5932, allocations: 8.125 kB / 0.6083 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.5935, allocations: 112.4 kB / 0.6084 GB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5938, allocations: 0.677 MB / 0.6091 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.338e-05/0.5938, allocations: 0 / 0.6091 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.5939, allocations: 11.44 kB / 0.6091 GB, free: 7.676 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5939, allocations: 0 / 0.6091 GB, free: 7.676 MB / 410.7 MB Notification: Performance of Templates: time 0.002485/0.5964, allocations: 0.4893 MB / 0.6096 GB, free: 7.203 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)