Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 293 MB / 309 MB, free: 4.832 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 172.5 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 0.6383 GB, free: 8.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007345/0.0007345, allocations: 91.91 kB / 0.7527 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 15.98 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6306/0.8397, allocations: 140.3 MB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.84, allocations: 75.17 kB / 1.127 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.8503, allocations: 3.814 MB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8503, allocations: 4 kB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.8503, allocations: 4 kB / 1.131 GB, free: 31 MB / 0.7292 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.0003918/0.8507, allocations: 383.2 kB / 1.132 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8508, allocations: 12.03 kB / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.8511, allocations: 66.94 kB / 1.132 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.8512, allocations: 171.8 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.8512, allocations: 384 / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.8513, allocations: 384 / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.8515, allocations: 95.5 kB / 1.132 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.8516, allocations: 3.422 kB / 1.132 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.8516, allocations: 7.938 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.8516, allocations: 0 / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.8519, allocations: 119.1 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.8524, allocations: 285.5 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.8527, allocations: 123.8 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.8529, allocations: 63.27 kB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.8529, allocations: 0 / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.8529, allocations: 30.56 kB / 1.133 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8529, allocations: 4 kB / 1.133 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0006672/0.8536, allocations: 211.2 kB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.8536, allocations: 51.41 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.8537, allocations: 98.36 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.8537, allocations: 25.7 kB / 1.133 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.8538, allocations: 91.66 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.8538, allocations: 3.938 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.8538, allocations: 4 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.8539, allocations: 310.8 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.8541, allocations: 65.77 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.8542, allocations: 62.25 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.8546, allocations: 105.8 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8546, allocations: 0 / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003693/0.8549, allocations: 150.2 kB / 1.134 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.855, allocations: 8 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.855, allocations: 0 / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.855, allocations: 0.7812 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.8552, allocations: 35.11 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8552, allocations: 0 / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.8553, allocations: 31.61 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.8553, allocations: 0 / 1.134 GB, free: 28.48 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.8554, allocations: 121.2 kB / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.8554, allocations: 4 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.8555, allocations: 3.125 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8555, allocations: 0.5625 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8555, allocations: 0 / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8555, allocations: 0.75 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.8556, allocations: 175.9 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8556, allocations: 4 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.8558, allocations: 27.12 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.8558, allocations: 0.5625 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.8558, allocations: 8.047 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8558, allocations: 0 / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8558, allocations: 0 / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.8562, allocations: 242.7 kB / 1.134 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.8563, allocations: 81.14 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.8563, allocations: 9.125 kB / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.8564, allocations: 22.56 kB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.8565, allocations: 4 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.8565, allocations: 3.422 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.67e-05/0.8565, allocations: 79.78 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8565, allocations: 4 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002349/0.8568, allocations: 20.59 kB / 1.134 GB, free: 27.66 MB / 0.7292 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 (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.000151/0.8569, allocations: 110.7 kB / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.8573, allocations: 120.2 kB / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8573, allocations: 0 / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.8575, allocations: 57.14 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.8578, allocations: 19.67 kB / 1.135 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.8584, allocations: 178.5 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.8585, allocations: 0.6841 MB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.326e-05/0.8586, allocations: 12 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.8586, allocations: 10.81 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.8586, allocations: 0 / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.0027/0.8613, allocations: 0.7168 MB / 1.136 GB, free: 26.11 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)