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.5417/0.5417, allocations: 94.77 MB / 102.2 MB, free: 10.16 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.001267/0.001267, allocations: 178 kB / 125.6 MB, free: 11.89 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.576/1.576, allocations: 170.6 MB / 319.4 MB, free: 9.34 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.001698/0.001698, allocations: 104.8 kB / 381.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.521e-05, allocations: 4 kB / 449.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 61.53 MB / 0.4987 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5591, allocations: 93.01 MB / 0.5895 GB, free: 8.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5593, allocations: 73.86 kB / 0.5896 GB, free: 8.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00442/0.5638, allocations: 1.591 MB / 0.5911 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5638, allocations: 4.562 kB / 0.5911 GB, free: 7.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.5638, allocations: 0 / 0.5911 GB, free: 7.348 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.0003455/0.5642, allocations: 340.6 kB / 0.5914 GB, free: 6.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5642, allocations: 8.031 kB / 0.5915 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.5643, allocations: 8.312 kB / 0.5915 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.5644, allocations: 163.1 kB / 0.5916 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.5644, allocations: 4 kB / 0.5916 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.5645, allocations: 1.219 kB / 0.5916 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.809e-05/0.5645, allocations: 10.86 kB / 0.5916 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.472e-05/0.5646, allocations: 42.22 kB / 0.5917 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5646, allocations: 0 / 0.5917 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.5646, allocations: 2.406 kB / 0.5917 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5647, allocations: 0 / 0.5917 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.565, allocations: 245.9 kB / 0.5919 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.5651, allocations: 23.48 kB / 0.5919 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.5652, allocations: 13.77 kB / 0.5919 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.5656, allocations: 422.9 kB / 0.5924 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5656, allocations: 34.88 kB / 0.5924 GB, free: 5.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5657, allocations: 0 / 0.5924 GB, free: 5.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.5658, allocations: 43.69 kB / 0.5924 GB, free: 5.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.5659, allocations: 52.03 kB / 0.5925 GB, free: 5.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.566, allocations: 98.25 kB / 0.5926 GB, free: 5.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.566, allocations: 25.7 kB / 0.5926 GB, free: 5.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.566, allocations: 80.14 kB / 0.5927 GB, free: 5.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5661, allocations: 9.016 kB / 0.5927 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.5661, allocations: 0.8438 kB / 0.5927 GB, free: 5.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5662, allocations: 318.8 kB / 0.593 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.5662, allocations: 0.875 kB / 0.593 GB, free: 5.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.5662, allocations: 9.312 kB / 0.593 GB, free: 5.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.5663, allocations: 7.938 kB / 0.593 GB, free: 5.176 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5663, allocations: 0 / 0.593 GB, free: 5.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.716e-05/0.5664, allocations: 45.64 kB / 0.593 GB, free: 5.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5664, allocations: 7.984 kB / 0.5931 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5664, allocations: 3.953 kB / 0.5931 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5664, allocations: 0 / 0.5931 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.5665, allocations: 9.219 kB / 0.5931 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5665, allocations: 3.938 kB / 0.5931 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.5666, allocations: 13.36 kB / 0.5931 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.5666, allocations: 0 / 0.5931 GB, free: 5.09 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 () * 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.737e-05/0.5667, allocations: 105.1 kB / 0.5932 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.5667, allocations: 7.906 kB / 0.5932 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.5669, allocations: 57.75 kB / 0.5932 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.5669, allocations: 7.359 kB / 0.5933 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5669, allocations: 0 / 0.5933 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5669, allocations: 0 / 0.5933 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.567, allocations: 138.2 kB / 0.5934 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.567, allocations: 4 kB / 0.5934 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.5671, allocations: 8 kB / 0.5934 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5671, allocations: 8.016 kB / 0.5934 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.5671, allocations: 0 / 0.5934 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5671, allocations: 0 / 0.5934 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5672, allocations: 0 / 0.5934 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.5673, allocations: 139.5 kB / 0.5935 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.5674, allocations: 77.11 kB / 0.5936 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.5674, allocations: 4.859 kB / 0.5936 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.5675, allocations: 12.03 kB / 0.5936 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.5675, allocations: 3.984 kB / 0.5936 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.5675, allocations: 0 / 0.5936 GB, free: 4.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.5676, allocations: 88.8 kB / 0.5937 GB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5676, allocations: 0 / 0.5937 GB, free: 4.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.5678, allocations: 15.84 kB / 0.5937 GB, free: 4.352 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 () * 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.0001653/0.568, allocations: 103.9 kB / 0.5938 GB, free: 4.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.993e-05/0.5681, allocations: 16 kB / 0.5938 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5681, allocations: 0 / 0.5938 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.5681, allocations: 4 kB / 0.5938 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5683, allocations: 7.984 kB / 0.5939 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.5685, allocations: 57.23 kB / 0.5939 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.5688, allocations: 0.6846 MB / 0.5946 GB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.635e-05/0.5688, allocations: 0.7031 kB / 0.5946 GB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.5688, allocations: 11.56 kB / 0.5946 GB, free: 3.422 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5689, allocations: 0 / 0.5946 GB, free: 3.422 MB / 410.7 MB Notification: Performance of Templates: time 0.002308/0.5712, allocations: 471 kB / 0.595 GB, free: 2.996 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)