Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.709/1.709, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008031/0.0008032, allocations: 96.23 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.000542, allocations: 17.66 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6853, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.8911, allocations: 142.4 MB / 1.165 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.8914, allocations: 79.06 kB / 1.165 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.9075, allocations: 3.859 MB / 1.169 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9076, allocations: 0 / 1.169 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9076, allocations: 0 / 1.169 GB, free: 14.47 MB / 0.7448 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.0006475/0.9082, allocations: 387.8 kB / 1.17 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.9083, allocations: 14.05 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.9088, allocations: 66.84 kB / 1.17 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.909, allocations: 165.6 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.909, allocations: 5.312 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.909, allocations: 5.359 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.9095, allocations: 99.11 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9095, allocations: 4.188 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.9095, allocations: 3.938 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.9095, allocations: 0.6562 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.9101, allocations: 114 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.9108, allocations: 287.5 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.9113, allocations: 120.1 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.9117, allocations: 65.16 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.9117, allocations: 0 / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.9117, allocations: 36.11 kB / 1.17 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/0.9118, allocations: 0.9375 kB / 1.17 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.001159/0.9129, allocations: 204.7 kB / 1.171 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.913, allocations: 51.41 kB / 1.171 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.9131, allocations: 105.8 kB / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.9132, allocations: 25.7 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.9133, allocations: 84.8 kB / 1.171 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.9133, allocations: 4.516 kB / 1.171 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.9133, allocations: 0 / 1.171 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.9135, allocations: 320 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.9138, allocations: 64.25 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.9142, allocations: 58.25 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.9148, allocations: 117 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9148, allocations: 0 / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006873/0.9155, allocations: 147.8 kB / 1.172 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9156, allocations: 4.516 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9156, allocations: 0 / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9156, allocations: 0.75 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.9158, allocations: 36.08 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.9159, allocations: 5.031 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.916, allocations: 22.7 kB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.9161, allocations: 0.6094 kB / 1.172 GB, free: 11.96 MB / 0.7448 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.0001271/0.9162, allocations: 118.5 kB / 1.172 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.9163, allocations: 1.219 kB / 1.172 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.9163, allocations: 7.688 kB / 1.172 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9163, allocations: 4.609 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9163, allocations: 0.6562 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.9164, allocations: 0.7031 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.9167, allocations: 168.5 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9167, allocations: 0.6562 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.9169, allocations: 35.22 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9169, allocations: 0 / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.917, allocations: 0.7031 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.917, allocations: 1.516 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.917, allocations: 0 / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.9178, allocations: 250.7 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.9178, allocations: 83.58 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.9179, allocations: 0.7969 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.9181, allocations: 25.8 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.9182, allocations: 2.016 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.9182, allocations: 4.609 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.098e-05/0.9183, allocations: 81.44 kB / 1.172 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9183, allocations: 0 / 1.172 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004608/0.9188, allocations: 25.25 kB / 1.172 GB, free: 11.14 MB / 0.7448 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.0002089/0.919, allocations: 109.5 kB / 1.173 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007085/0.9197, allocations: 114.2 kB / 1.173 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9197, allocations: 0 / 1.173 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.9201, allocations: 65.28 kB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.9205, allocations: 8.75 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.9213, allocations: 180.9 kB / 1.173 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.9216, allocations: 0.6762 MB / 1.174 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.9218, allocations: 9.922 kB / 1.174 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.9219, allocations: 12.14 kB / 1.174 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.9219, allocations: 0 / 1.174 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of Templates: time 0.003948/0.9258, allocations: 0.7182 MB / 1.174 GB, free: 9.59 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)