Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.615/2.615, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.001624/0.001624, allocations: 192.8 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009008/0.0009006, allocations: 106.4 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 12.61 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.12, allocations: 139 MB / 1.115 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.121, allocations: 76.2 kB / 1.115 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01871/1.14, allocations: 3.812 MB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.365e-06/1.14, allocations: 0 / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.14, allocations: 0 / 1.119 GB, free: 31.18 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.000617/1.14, allocations: 386.8 kB / 1.119 GB, free: 30.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.14, allocations: 11.66 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/1.141, allocations: 68.47 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.141, allocations: 164.4 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.141, allocations: 384 / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/1.141, allocations: 8.188 kB / 1.119 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/1.142, allocations: 99.59 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.142, allocations: 4.188 kB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.142, allocations: 3.938 kB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.142, allocations: 0 / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/1.142, allocations: 115.8 kB / 1.12 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/1.143, allocations: 293.7 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/1.144, allocations: 119.8 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/1.144, allocations: 65.83 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/1.144, allocations: 0 / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.144, allocations: 30.56 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/1.144, allocations: 3.984 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.001228/1.145, allocations: 210.8 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/1.145, allocations: 55.22 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/1.145, allocations: 100.3 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.145, allocations: 28.64 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/1.146, allocations: 84.02 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/1.146, allocations: 6.719 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/1.146, allocations: 0 / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.146, allocations: 317.7 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/1.146, allocations: 56.23 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/1.146, allocations: 56.61 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/1.147, allocations: 114.5 kB / 1.121 GB, free: 29.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.147, allocations: 3.844 kB / 1.121 GB, free: 29.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008107/1.148, allocations: 153 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.148, allocations: 3.875 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.148, allocations: 1.5 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.148, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/1.148, allocations: 30.45 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.148, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/1.149, allocations: 21.25 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.149, allocations: 5.422 kB / 1.121 GB, free: 29.46 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 0.0001091/1.149, allocations: 121 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/1.149, allocations: 7.875 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/1.149, allocations: 8.375 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.149, allocations: 0 / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.149, allocations: 0 / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.149, allocations: 0 / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/1.149, allocations: 179 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.149, allocations: 0 / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/1.149, allocations: 31.53 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.149, allocations: 0 / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.149, allocations: 0 / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.149, allocations: 5.203 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.149, allocations: 0 / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/1.15, allocations: 245.1 kB / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/1.15, allocations: 77.11 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/1.15, allocations: 1.969 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/1.151, allocations: 27.47 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/1.151, allocations: 5.031 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/1.151, allocations: 5.688 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.306e-05/1.151, allocations: 82.78 kB / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.151, allocations: 0 / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003338/1.151, allocations: 20.88 kB / 1.122 GB, free: 28.8 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.0002224/1.151, allocations: 111.6 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007928/1.152, allocations: 119.3 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.152, allocations: 7.938 kB / 1.122 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/1.153, allocations: 56.12 kB / 1.122 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/1.153, allocations: 11.94 kB / 1.122 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/1.154, allocations: 177 kB / 1.123 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.154, allocations: 0.6835 MB / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001346/1.154, allocations: 8 kB / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/1.154, allocations: 11.34 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/1.154, allocations: 0 / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of Templates: time 0.003462/1.158, allocations: 0.7154 MB / 1.124 GB, free: 27.78 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)