Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.059/1.059, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002422/0.002422, allocations: 241.2 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7885/0.7885, allocations: 138.4 MB / 455.2 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.958e-05, allocations: 2.312 kB / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002719/0.002749, allocations: 1.502 MB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004254, allocations: 0.7836 MB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.004292, allocations: 4 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.004334, allocations: 7.922 kB / 0.5574 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.004383, allocations: 7.938 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.004791, allocations: 127.4 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.004858, allocations: 35.92 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.004939, allocations: 8 kB / 0.5575 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.004989, allocations: 15.98 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.005033, allocations: 19.91 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.005049, allocations: 4 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.005334, allocations: 251.5 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.005353, allocations: 7.938 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.00538, allocations: 15.97 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.005626, allocations: 199.5 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005628, allocations: 0 / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005629, allocations: 0 / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005633, allocations: 4 kB / 0.558 GB, free: 13.48 MB / 490.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.0003863/0.006019, allocations: 396.2 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.006058, allocations: 8.75 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.006322, allocations: 48.88 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.021e-05/0.006412, allocations: 120.5 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.006427, allocations: 384 / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.006444, allocations: 8.359 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.00662, allocations: 78.84 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.006632, allocations: 192 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006642, allocations: 384 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.006651, allocations: 3.938 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.0067, allocations: 15.94 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.007035, allocations: 271.8 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.007135, allocations: 55.03 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.007164, allocations: 15.69 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.00718, allocations: 4 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.007201, allocations: 37.33 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.007202, allocations: 4 kB / 0.5591 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.00738, allocations: 53.64 kB / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.007409, allocations: 51.41 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.007485, allocations: 165.9 kB / 0.5593 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.007498, allocations: 25.7 kB / 0.5593 GB, free: 11.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.007544, allocations: 130.9 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.007562, allocations: 3.953 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.007597, allocations: 19.38 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000409/0.008006, allocations: 0.4923 MB / 0.56 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.008033, allocations: 7.938 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.008052, allocations: 8.125 kB / 0.56 GB, free: 11.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.008094, allocations: 11.94 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008096, allocations: 0 / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.412e-05/0.00818, allocations: 49.69 kB / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.008197, allocations: 11.94 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.008202, allocations: 0 / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.008218, allocations: 0 / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.008316, allocations: 16.08 kB / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008321, allocations: 0 / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.008355, allocations: 15.92 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.00836, allocations: 0 / 0.5601 GB, free: 11.18 MB / 490.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.008422, allocations: 160.6 kB / 0.5602 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.008442, allocations: 7.922 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.008471, allocations: 7.312 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008473, allocations: 0 / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008477, allocations: 0 / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00848, allocations: 4 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.794e-05/0.008578, allocations: 124.6 kB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.008578, allocations: 0 / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.008617, allocations: 11.98 kB / 0.5604 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008619, allocations: 0 / 0.5604 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.008627, allocations: 3.938 kB / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.008628, allocations: 0 / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008628, allocations: 4 kB / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.008755, allocations: 195.8 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.008761, allocations: 8.031 kB / 0.5606 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.008772, allocations: 7.922 kB / 0.5606 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.008821, allocations: 4 kB / 0.5606 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.008857, allocations: 11.98 kB / 0.5606 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.008861, allocations: 0 / 0.5606 GB, free: 10.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.317e-05/0.008894, allocations: 123.2 kB / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008894, allocations: 0 / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.00905, allocations: 19.92 kB / 0.5607 GB, free: 10.44 MB / 490.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001159/0.009166, allocations: 107.2 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.009263, allocations: 27.67 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.009265, allocations: 0 / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.009291, allocations: 11.69 kB / 0.5609 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.009464, allocations: 16.11 kB / 0.5609 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.009756, allocations: 133.5 kB / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.00979, allocations: 55.36 kB / 0.5611 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.00983, allocations: 11.98 kB / 0.5611 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.00986, allocations: 8.5 kB / 0.5611 GB, free: 10.01 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009861, allocations: 0 / 0.5611 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Templates: time 0.002454/0.01232, allocations: 0.9175 MB / 0.562 GB, free: 9.109 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8883549971506]