Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001172/0.001172, 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.004402/0.004402, allocations: 165 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8282/0.8282, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.153e-05, allocations: 5.969 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002032/0.002063, allocations: 0.6457 MB / 0.5212 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.004258, allocations: 1.478 MB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.004305, allocations: 0 / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.004331, allocations: 3.938 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.00442, allocations: 7.922 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.004958, allocations: 125 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.005039, allocations: 25.48 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.00509, allocations: 0 / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.005152, allocations: 19.97 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.005224, allocations: 19.91 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.005243, allocations: 0.9375 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.005688, allocations: 251.4 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.005714, allocations: 11.92 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.005742, allocations: 5.406 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.006085, allocations: 199.4 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.006091, allocations: 4 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.006093, allocations: 0 / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.006099, allocations: 1.156 kB / 0.5233 GB, free: 15.11 MB / 0.4948 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.0005505/0.00665, allocations: 404.8 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.006698, allocations: 9.312 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.007007, allocations: 53.92 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.007141, allocations: 112.6 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.00716, allocations: 0.875 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.007192, allocations: 4.906 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.007414, allocations: 72.8 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.007426, allocations: 192 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.007438, allocations: 384 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007449, allocations: 13.44 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.007516, allocations: 19.98 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.007696, allocations: 124.7 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.007826, allocations: 53.89 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.007868, allocations: 19.67 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.00789, allocations: 4.125 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.007917, allocations: 37.39 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.007919, allocations: 3.938 kB / 0.5242 GB, free: 14.07 MB / 0.4948 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.001354/0.009272, allocations: 397.2 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.009304, allocations: 56.42 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.009393, allocations: 177.8 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.009409, allocations: 29.7 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.009454, allocations: 127.8 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.009493, allocations: 31.7 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.00954, allocations: 38.61 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.00966, allocations: 0.4923 MB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.009712, allocations: 23.98 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.00976, allocations: 27.98 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.009848, allocations: 47.91 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00985, allocations: 0 / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001516/0.01, allocations: 95.17 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.01002, allocations: 13.7 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01003, allocations: 3.938 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01004, allocations: 3.938 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.0102, allocations: 45.77 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01021, allocations: 0 / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.01028, allocations: 26.19 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01029, allocations: 4 kB / 0.5258 GB, free: 12.4 MB / 0.4948 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 7.615e-05/0.01036, allocations: 161.7 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.01039, allocations: 7.953 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.01043, allocations: 16.36 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01043, allocations: 0.7188 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01044, allocations: 0 / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.01044, allocations: 4.594 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.011, allocations: 436.2 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.011, allocations: 0 / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-05/0.0111, allocations: 46.39 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.0111, allocations: 0 / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01111, allocations: 4 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01111, allocations: 2.781 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01112, allocations: 0 / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.01131, allocations: 263.1 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.01133, allocations: 4 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01134, allocations: 4.562 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.01143, allocations: 22.08 kB / 0.5267 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.01147, allocations: 11.97 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.01148, allocations: 8 kB / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.01153, allocations: 135.2 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01153, allocations: 1.469 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002041/0.01173, allocations: 39.81 kB / 0.5269 GB, free: 11.18 MB / 0.4948 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.0002376/0.01197, allocations: 131.7 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.01216, allocations: 76.14 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01216, allocations: 0.9375 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.01222, allocations: 52.31 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.01241, allocations: 16 kB / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.01294, allocations: 283 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.01299, allocations: 59.34 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.09e-05/0.01305, allocations: 18.92 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.01311, allocations: 20.48 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/0.01311, allocations: 2 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.003625/0.01673, allocations: 1.783 MB / 0.5293 GB, free: 8.762 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9502168227918446]