Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.586/1.586, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.000891/0.0008911, allocations: 177.7 kB / 372.9 MB, free: 10.14 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.404/1.404, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008235/0.0008235, allocations: 96.95 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 13.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7107/0.9236, allocations: 139.2 MB / 1.117 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.9239, allocations: 80.5 kB / 1.117 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.9346, allocations: 3.801 MB / 1.12 GB, free: 32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9346, allocations: 0 / 1.12 GB, free: 32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.9346, allocations: 0 / 1.12 GB, free: 32 MB / 0.698 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.0005026/0.9351, allocations: 386 kB / 1.121 GB, free: 31.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9352, allocations: 11.44 kB / 1.121 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.9355, allocations: 70.66 kB / 1.121 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.9357, allocations: 167.4 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.9357, allocations: 4.312 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.9357, allocations: 384 / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.936, allocations: 96.89 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.936, allocations: 4.031 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.936, allocations: 3.938 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.936, allocations: 7.984 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.9364, allocations: 113.1 kB / 1.121 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.9369, allocations: 292.7 kB / 1.122 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.9372, allocations: 123.6 kB / 1.122 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.9375, allocations: 61.28 kB / 1.122 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.9375, allocations: 0 / 1.122 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.9375, allocations: 41.84 kB / 1.122 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.9375, allocations: 0 / 1.122 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0006818/0.9382, allocations: 201.5 kB / 1.122 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.9382, allocations: 58.59 kB / 1.122 GB, free: 30.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.9383, allocations: 107.7 kB / 1.122 GB, free: 30.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.9384, allocations: 25.7 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.9384, allocations: 80.14 kB / 1.122 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.9384, allocations: 14.64 kB / 1.122 GB, free: 30.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.9384, allocations: 0 / 1.122 GB, free: 30.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.9386, allocations: 314.7 kB / 1.123 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.9388, allocations: 54.58 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.939, allocations: 60.81 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.9393, allocations: 116.9 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9393, allocations: 0 / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004117/0.9398, allocations: 149.8 kB / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.9398, allocations: 7.75 kB / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9398, allocations: 0 / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.9398, allocations: 0 / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.94, allocations: 25.44 kB / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.94, allocations: 0 / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.9401, allocations: 33.73 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.9401, allocations: 2.672 kB / 1.123 GB, free: 30.27 MB / 0.698 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 8.024e-05/0.9402, allocations: 113 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.9402, allocations: 3.812 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.9403, allocations: 7 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9403, allocations: 4 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9403, allocations: 0 / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9403, allocations: 0 / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.9405, allocations: 177.5 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9405, allocations: 0 / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.9406, allocations: 25.95 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.9406, allocations: 3.844 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.9406, allocations: 4 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9406, allocations: 0 / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9406, allocations: 2.766 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.9411, allocations: 245.8 kB / 1.124 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.9411, allocations: 80.98 kB / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.9412, allocations: 0 / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.9413, allocations: 21.67 kB / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.9414, allocations: 10.59 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.9414, allocations: 7.844 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.9414, allocations: 85.36 kB / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9414, allocations: 0 / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002239/0.9417, allocations: 19.53 kB / 1.124 GB, free: 29.62 MB / 0.698 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.0001582/0.9418, allocations: 105.4 kB / 1.124 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.9423, allocations: 121.8 kB / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9423, allocations: 0 / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.9425, allocations: 62.48 kB / 1.124 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.9428, allocations: 15.8 kB / 1.124 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.9433, allocations: 181 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.9436, allocations: 0.6791 MB / 1.125 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.375e-05/0.9437, allocations: 7.906 kB / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.9437, allocations: 13.66 kB / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.9437, allocations: 0 / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of Templates: time 0.00245/0.9462, allocations: 0.7179 MB / 1.126 GB, free: 28.6 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)