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.001239/0.001239, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001333/0.001333, allocations: 160.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.329/1.329, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 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.002341/0.002341, allocations: 233.8 kB / 260 MB, free: 484 kB / 238.1 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.8867/0.8867, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 98.36 kB / 0.6474 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3777, allocations: 95.33 MB / 0.7405 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001739/0.3795, allocations: 0.6325 MB / 0.7411 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3811, allocations: 1.437 MB / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.3812, allocations: 5.156 kB / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3812, allocations: 0 / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.3813, allocations: 10.14 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.3816, allocations: 126.5 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.3817, allocations: 29.39 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.3817, allocations: 2.641 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.3818, allocations: 16.66 kB / 0.7427 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.3818, allocations: 23.38 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3818, allocations: 2.281 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.3822, allocations: 245.2 kB / 0.7429 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.3822, allocations: 7.234 kB / 0.743 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.3822, allocations: 16.14 kB / 0.743 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3825, allocations: 176.9 kB / 0.7431 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3825, allocations: 4.547 kB / 0.7431 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3825, allocations: 0 / 0.7431 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3825, allocations: 4 kB / 0.7431 GB, free: 15.78 MB / 0.5919 GB 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.000378/0.3829, allocations: 299.6 kB / 0.7434 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.3829, allocations: 16.52 kB / 0.7435 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.3833, allocations: 62.34 kB / 0.7435 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.3834, allocations: 121.5 kB / 0.7436 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3834, allocations: 2.453 kB / 0.7436 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.3834, allocations: 1.781 kB / 0.7436 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.3836, allocations: 77.88 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3837, allocations: 7.953 kB / 0.7437 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3837, allocations: 0 / 0.7437 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3837, allocations: 2.125 kB / 0.7437 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.384, allocations: 69.98 kB / 0.7438 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.3841, allocations: 113.9 kB / 0.7439 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.3846, allocations: 128.3 kB / 0.744 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3848, allocations: 43.02 kB / 0.7441 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3848, allocations: 1.344 kB / 0.7441 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.019e-05/0.3848, allocations: 32.34 kB / 0.7441 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3848, allocations: 0 / 0.7441 GB, free: 15.05 MB / 0.5919 GB 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.003833/0.3887, allocations: 0.7914 MB / 0.7449 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.3887, allocations: 52.38 kB / 0.7449 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.3887, allocations: 122.5 kB / 0.745 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3887, allocations: 25.7 kB / 0.745 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.3888, allocations: 87.62 kB / 0.7451 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3888, allocations: 33 kB / 0.7452 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.3888, allocations: 27.33 kB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.3889, allocations: 319 kB / 0.7455 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.3893, allocations: 93.86 kB / 0.7456 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.3897, allocations: 96.22 kB / 0.7457 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.3905, allocations: 202.2 kB / 0.7459 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3905, allocations: 0 / 0.7459 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008617/0.3913, allocations: 245.6 kB / 0.7461 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3914, allocations: 5.703 kB / 0.7461 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3914, allocations: 4 kB / 0.7461 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3914, allocations: 1.125 kB / 0.7461 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3917, allocations: 50.67 kB / 0.7462 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3917, allocations: 0 / 0.7462 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3919, allocations: 37 kB / 0.7462 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3919, allocations: 8.922 kB / 0.7462 GB, free: 14.11 MB / 0.5919 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 (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.301e-05/0.392, allocations: 108.9 kB / 0.7463 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.392, allocations: 15.06 kB / 0.7463 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.392, allocations: 20.14 kB / 0.7463 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.392, allocations: 5.188 kB / 0.7463 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.392, allocations: 0 / 0.7463 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.392, allocations: 0.7031 kB / 0.7463 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3935, allocations: 0.529 MB / 0.7469 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3935, allocations: 4.062 kB / 0.7469 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3938, allocations: 61.47 kB / 0.7469 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3938, allocations: 1.844 kB / 0.7469 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3938, allocations: 1.25 kB / 0.7469 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3938, allocations: 5.375 kB / 0.7469 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3938, allocations: 5.125 kB / 0.7469 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.3946, allocations: 340.8 kB / 0.7473 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.3947, allocations: 7.984 kB / 0.7473 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3947, allocations: 5.375 kB / 0.7473 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3949, allocations: 38.7 kB / 0.7473 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.395, allocations: 11.97 kB / 0.7473 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.395, allocations: 5.672 kB / 0.7473 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.395, allocations: 94.62 kB / 0.7474 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.395, allocations: 0 / 0.7474 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002748/0.3953, allocations: 37.09 kB / 0.7475 GB, free: 13.36 MB / 0.5919 GB 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.0001475/0.3954, allocations: 129.4 kB / 0.7476 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008698/0.3963, allocations: 204 kB / 0.7478 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3963, allocations: 1.188 kB / 0.7478 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.3967, allocations: 108.2 kB / 0.7479 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3969, allocations: 10.41 kB / 0.7479 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3983, allocations: 393.4 kB / 0.7483 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.3984, allocations: 73.38 kB / 0.7483 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.77e-05/0.3985, allocations: 18.12 kB / 0.7484 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.3985, allocations: 28.38 kB / 0.7484 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.3985, allocations: 192 / 0.7484 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.004297/0.4028, allocations: 1.764 MB / 0.7501 GB, free: 12.78 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.430701149976812] Failed to read output from testmodel.py, exit status != 0: 0.41045046504586935 0.42075412500000003 0.035914228 Calling exit ...