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.0006575/0.0006575, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008734/0.001531, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000666/0.000666, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008447/0.001511, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9721/0.9721, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08377/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001516/0.001516, allocations: 238 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002784, allocations: 475.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7099/0.7099, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06712/0.777, allocations: 42.4 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.082e-06/1.082e-06, allocations: 0 / 428.1 MB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/1.044e-05, allocations: 6.312 kB / 428.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009777/0.0009881, allocations: 0.6937 MB / 428.8 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002211, allocations: 1.477 MB / 430.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.002232, allocations: 0 / 430.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-06/0.002237, allocations: 7.938 kB / 430.3 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.002265, allocations: 11.86 kB / 430.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.002482, allocations: 119.5 kB / 430.4 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.002532, allocations: 23.92 kB / 430.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.002567, allocations: 3.938 kB / 430.5 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.002643, allocations: 27.98 kB / 430.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.002696, allocations: 23.91 kB / 430.5 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.002707, allocations: 0 / 430.5 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.002978, allocations: 267.4 kB / 430.8 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002991, allocations: 0 / 430.8 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.254e-05/0.003003, allocations: 7.938 kB / 430.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.003198, allocations: 159.6 kB / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.003207, allocations: 0 / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003208, allocations: 0 / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.003217, allocations: 0 / 430.9 MB, free: 1.57 MB / 410.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.0003427/0.00356, allocations: 300.1 kB / 431.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.567e-05/0.003585, allocations: 12.03 kB / 431.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.003799, allocations: 118 kB / 431.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.003875, allocations: 117.7 kB / 431.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003886, allocations: 384 / 431.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.003903, allocations: 12.38 kB / 431.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004014, allocations: 66.92 kB / 431.6 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.004023, allocations: 4.141 kB / 431.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.004029, allocations: 384 / 431.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.004034, allocations: 3.938 kB / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.004067, allocations: 19.98 kB / 431.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.798e-05/0.004145, allocations: 65.05 kB / 431.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.154e-05/0.004206, allocations: 46.5 kB / 431.7 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.004224, allocations: 13.05 kB / 431.7 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.004234, allocations: 4 kB / 431.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004252, allocations: 34.56 kB / 431.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 5.81e-07/0.004253, allocations: 0 / 431.7 MB, free: 0.6602 MB / 410.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.0008798/0.005133, allocations: 369 kB / 432.1 MB, free: 300 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.005186, allocations: 55.34 kB / 432.2 MB, free: 232 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.932e-05/0.005235, allocations: 114.7 kB / 432.3 MB, free: 104 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.005248, allocations: 33.64 kB / 432.3 MB, free: 64 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1868/0.192, allocations: 81.44 kB / 432.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.1921, allocations: 31.61 kB / 432.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.1921, allocations: 24.75 kB / 432.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.1921, allocations: 318.4 kB / 432.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.1922, allocations: 13.97 kB / 432.8 MB, free: 1.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.1922, allocations: 16.88 kB / 432.8 MB, free: 1.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.1923, allocations: 38.61 kB / 432.8 MB, free: 1.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1923, allocations: 1.438 kB / 432.8 MB, free: 1.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001039/0.1924, allocations: 71.38 kB / 432.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1924, allocations: 5.156 kB / 432.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1924, allocations: 0 / 432.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1924, allocations: 1.25 kB / 432.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.1926, allocations: 49.19 kB / 432.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1926, allocations: 1 kB / 432.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.1927, allocations: 24 kB / 433 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1927, allocations: 3.391 kB / 433 MB, free: 1.762 MB / 410.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 7.473e-05/0.1928, allocations: 115.2 kB / 433.1 MB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.1928, allocations: 6.828 kB / 433.1 MB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.1928, allocations: 10.88 kB / 433.1 MB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1928, allocations: 6.453 kB / 433.1 MB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1928, allocations: 1.375 kB / 433.1 MB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1928, allocations: 0.8125 kB / 433.1 MB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1932, allocations: 300.6 kB / 433.4 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1932, allocations: 0 / 433.4 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.1933, allocations: 46.55 kB / 433.4 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.1933, allocations: 9.906 kB / 433.5 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1933, allocations: 1.312 kB / 433.5 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1933, allocations: 5.547 kB / 433.5 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1933, allocations: 2 kB / 433.5 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1933, allocations: 0.5625 kB / 433.5 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1934, allocations: 182.1 kB / 433.6 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1935, allocations: 5.75 kB / 433.6 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.1935, allocations: 21.02 kB / 433.7 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1936, allocations: 10.34 kB / 433.7 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1936, allocations: 4.844 kB / 433.7 MB, free: 17.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.1936, allocations: 15.55 kB / 433.7 MB, free: 17.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 0 / 433.7 MB, free: 17.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.1938, allocations: 41.22 kB / 433.7 MB, free: 17.28 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.0001413/0.1939, allocations: 112.1 kB / 433.8 MB, free: 17.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.194, allocations: 61.89 kB / 433.9 MB, free: 17.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.194, allocations: 0.8125 kB / 433.9 MB, free: 17.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.1941, allocations: 41.66 kB / 433.9 MB, free: 17.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1942, allocations: 25.94 kB / 434 MB, free: 17.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.1946, allocations: 262.6 kB / 434.2 MB, free: 17.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.349e-05/0.1946, allocations: 59.16 kB / 434.3 MB, free: 17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.1947, allocations: 22.48 kB / 434.3 MB, free: 17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.1948, allocations: 58.38 kB / 434.4 MB, free: 16.95 MB / 426.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1948, allocations: 3 kB / 434.4 MB, free: 16.95 MB / 426.7 MB Notification: Performance of Templates: time 0.003451/0.1982, allocations: 1.956 MB / 436.3 MB, free: 16.92 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3937814300879836]