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.001375/0.001375, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0017/0.0017, allocations: 181 kB / 23.36 MB, free: 1.133 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.077/1.077, allocations: 177.2 MB / 203.8 MB, free: 5.457 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.005177/0.005177, allocations: 239.1 kB / 260.5 MB, free: 12.68 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.7457/0.7457, allocations: 138.4 MB / 402.2 MB, free: 0.5977 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 2.604e-06/2.604e-06, allocations: 1.281 kB / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.359e-05, allocations: 5.703 kB / 462.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001296/0.00132, allocations: 0.6993 MB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.002957, allocations: 1.479 MB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.002992, allocations: 0 / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.003008, allocations: 1.531 kB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.003088, allocations: 8.516 kB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.003542, allocations: 129.1 kB / 464.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.003608, allocations: 29.06 kB / 464.8 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.003645, allocations: 8.141 kB / 464.8 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.003699, allocations: 13.95 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.003757, allocations: 16.58 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.00377, allocations: 2.25 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.004142, allocations: 256.6 kB / 465.1 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.004158, allocations: 8.953 kB / 465.1 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.004178, allocations: 12.75 kB / 465.1 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.004436, allocations: 196.4 kB / 465.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004439, allocations: 4 kB / 465.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00444, allocations: 0 / 465.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.004443, allocations: 1.938 kB / 465.3 MB, free: 15.25 MB / 426.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.0003358/0.004779, allocations: 277 kB / 465.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.004816, allocations: 10.44 kB / 465.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.005011, allocations: 48.81 kB / 465.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.005102, allocations: 116 kB / 465.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.005118, allocations: 11 kB / 465.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.005134, allocations: 2.188 kB / 465.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.005273, allocations: 73.86 kB / 465.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.005281, allocations: 1.781 kB / 465.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.00529, allocations: 2.328 kB / 465.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.005297, allocations: 5.469 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.005336, allocations: 11.8 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.005445, allocations: 66.34 kB / 465.9 MB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.005523, allocations: 45.73 kB / 465.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.005545, allocations: 14.42 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.005557, allocations: 1.219 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.005579, allocations: 33.62 kB / 466 MB, free: 14.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.00558, allocations: 0 / 466 MB, free: 14.64 MB / 426.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.0009915/0.006571, allocations: 362.7 kB / 466.3 MB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.006599, allocations: 56.62 kB / 466.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.006656, allocations: 117.1 kB / 466.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.00667, allocations: 28.2 kB / 466.5 MB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.006693, allocations: 89.59 kB / 466.6 MB, free: 14.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.006728, allocations: 31.94 kB / 466.7 MB, free: 14.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.006768, allocations: 27.91 kB / 466.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.006843, allocations: 322.8 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.006876, allocations: 18.89 kB / 467 MB, free: 13.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.006904, allocations: 12.75 kB / 467 MB, free: 13.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.079e-05/0.006964, allocations: 42.27 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.006965, allocations: 1.438 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.651e-05/0.007062, allocations: 70.61 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.007073, allocations: 5.25 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007077, allocations: 2.312 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.007087, allocations: 4 kB / 467.2 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.007209, allocations: 45.3 kB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007212, allocations: 0 / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.007271, allocations: 17.77 kB / 467.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.007282, allocations: 8.609 kB / 467.2 MB, free: 13.68 MB / 426.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 5.871e-05/0.00734, allocations: 111.7 kB / 467.3 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.007353, allocations: 4 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.007382, allocations: 12.44 kB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007384, allocations: 4 kB / 467.4 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.007388, allocations: 7.922 kB / 467.4 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.00739, allocations: 2.781 kB / 467.4 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.007759, allocations: 293.8 kB / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007761, allocations: 0 / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.007848, allocations: 43.45 kB / 467.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.007853, allocations: 7.938 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.007862, allocations: 4.922 kB / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007863, allocations: 0 / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007864, allocations: 0 / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007981, allocations: 179 kB / 467.9 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.007991, allocations: 7.953 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.008006, allocations: 3.938 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.00808, allocations: 26.16 kB / 467.9 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.008108, allocations: 7.984 kB / 467.9 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.008115, allocations: 4.625 kB / 467.9 MB, free: 12.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.473e-05/0.008129, allocations: 17.38 kB / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 0.6562 kB / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.008297, allocations: 35.88 kB / 468 MB, free: 12.87 MB / 426.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.0001196/0.008417, allocations: 121.1 kB / 468.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.008528, allocations: 58.67 kB / 468.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.00853, allocations: 0 / 468.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.008575, allocations: 42.45 kB / 468.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.008693, allocations: 4 kB / 468.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.009114, allocations: 253.5 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.009151, allocations: 63.34 kB / 468.5 MB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.009216, allocations: 19.89 kB / 468.5 MB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.009295, allocations: 59.36 kB / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009295, allocations: 0 / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of Templates: time 0.003185/0.01248, allocations: 1.956 MB / 470.5 MB, free: 10.43 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.68359683919698]