Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.002083/0.002083, allocations: 85.48 kB / 19.44 MB, free: 344 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.002097/0.002097, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003345/0.003345, allocations: 235.2 kB / 259.8 MB, free: 12.86 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 1.174/1.174, allocations: 138.5 MB / 454.7 MB, free: 1.461 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5544 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.008e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.75 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001898/0.001928, allocations: 0.6291 MB / 0.555 GB, free: 124 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.004313, allocations: 1.458 MB / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.004343, allocations: 0 / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.004358, allocations: 0 / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.004448, allocations: 11.86 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.004917, allocations: 127.5 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.004982, allocations: 27.86 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.005022, allocations: 4 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.005081, allocations: 15.98 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.005148, allocations: 15.91 kB / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.005166, allocations: 0 / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.005627, allocations: 259.4 kB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.005646, allocations: 3.984 kB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.005676, allocations: 11.94 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.006028, allocations: 195.5 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006031, allocations: 0 / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006032, allocations: 3.938 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006037, allocations: 0 / 0.5571 GB, free: 13.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000593/0.00663, allocations: 403.8 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.006675, allocations: 12.69 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.006992, allocations: 48.88 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.007142, allocations: 120.6 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.007161, allocations: 4.375 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.007177, allocations: 384 / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.007397, allocations: 66.22 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.007407, allocations: 192 / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.007419, allocations: 384 / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.007427, allocations: 3.938 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.007689, allocations: 51.89 kB / 0.5578 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.007919, allocations: 132.6 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.008343, allocations: 99.06 kB / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.008488, allocations: 43.78 kB / 0.558 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.008512, allocations: 4 kB / 0.558 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.008557, allocations: 33.39 kB / 0.5581 GB, free: 12.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.008558, allocations: 0 / 0.5581 GB, free: 12.85 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003104/0.01166, allocations: 0.5695 MB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.01171, allocations: 51.41 kB / 0.5587 GB, free: 12.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01186, allocations: 173.9 kB / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.01189, allocations: 29.7 kB / 0.5589 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.01197, allocations: 130.9 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.01203, allocations: 31.73 kB / 0.559 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.01211, allocations: 39.36 kB / 0.5591 GB, free: 11.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002575/0.01237, allocations: 496.1 kB / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.01267, allocations: 72.62 kB / 0.5596 GB, free: 11.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.01297, allocations: 79.97 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.01355, allocations: 135.6 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01355, allocations: 0 / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006796/0.01423, allocations: 193.5 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01425, allocations: 8 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.01425, allocations: 3.938 kB / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01427, allocations: 4 kB / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.01452, allocations: 43.95 kB / 0.56 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01453, allocations: 0 / 0.56 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.01468, allocations: 23.92 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.0147, allocations: 7.984 kB / 0.5601 GB, free: 10.71 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 (9): * Single equations (assignments): 9 * 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 0.0001278/0.01483, allocations: 164.5 kB / 0.5602 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01486, allocations: 7.953 kB / 0.5602 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.01491, allocations: 20.36 kB / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.01492, allocations: 4 kB / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01492, allocations: 0 / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01493, allocations: 0 / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.01629, allocations: 0.5083 MB / 0.5608 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01629, allocations: 0 / 0.5608 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.0165, allocations: 47.95 kB / 0.5608 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.0165, allocations: 0 / 0.5608 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.01652, allocations: 8 kB / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01653, allocations: 0 / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01653, allocations: 0 / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.01735, allocations: 351 kB / 0.5611 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01738, allocations: 15.95 kB / 0.5612 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.0174, allocations: 0 / 0.5612 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.0176, allocations: 23.98 kB / 0.5612 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.01765, allocations: 11.97 kB / 0.5612 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.01766, allocations: 4 kB / 0.5612 GB, free: 9.477 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.01776, allocations: 135.2 kB / 0.5613 GB, free: 9.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01776, allocations: 0 / 0.5613 GB, free: 9.344 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.01806, allocations: 35.88 kB / 0.5614 GB, free: 9.309 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.000254/0.01831, allocations: 142.8 kB / 0.5615 GB, free: 9.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.01914, allocations: 163.5 kB / 0.5617 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01914, allocations: 3.938 kB / 0.5617 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.01947, allocations: 87.75 kB / 0.5617 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01972, allocations: 19.92 kB / 0.5618 GB, free: 8.883 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.02091, allocations: 327.7 kB / 0.5621 GB, free: 8.527 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.02099, allocations: 67.34 kB / 0.5621 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.02109, allocations: 29.22 kB / 0.5622 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.02117, allocations: 20.48 kB / 0.5622 GB, free: 8.395 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02117, allocations: 0 / 0.5622 GB, free: 8.395 MB / 490.7 MB Notification: Performance of Templates: time 0.005345/0.02652, allocations: 1.807 MB / 0.564 GB, free: 6.598 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.841876929043792]