Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001609/0.001609, 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.00167/0.00167, 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.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8544/0.8544, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 480 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.665e-05, allocations: 3.078 kB / 480.1 MB, free: 6.848 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.005518/0.005545, allocations: 1.535 MB / 481.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.006764, allocations: 0.7943 MB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.006799, allocations: 4.625 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.006828, allocations: 6.125 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.00688, allocations: 0.875 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.01035, allocations: 132.2 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.01042, allocations: 32.34 kB / 482.6 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.01049, allocations: 8.547 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.01055, allocations: 23.92 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.0106, allocations: 16.53 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.01061, allocations: 0.5938 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.01099, allocations: 259.5 kB / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.01101, allocations: 4.875 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.01103, allocations: 11.98 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.0113, allocations: 204 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01131, allocations: 1.688 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01131, allocations: 0 / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.01131, allocations: 0 / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003361/0.01165, allocations: 275.6 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.01168, allocations: 16.88 kB / 483.4 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005321/0.01221, allocations: 51.56 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.0123, allocations: 109.5 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.01231, allocations: 4.375 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.01232, allocations: 1.594 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.01248, allocations: 76.09 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.01248, allocations: 192 / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.01249, allocations: 384 / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.0125, allocations: 8.969 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.01254, allocations: 4 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.01281, allocations: 177.3 kB / 483.8 MB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.01591, allocations: 41.12 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.01593, allocations: 8.922 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.01594, allocations: 0 / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.01596, allocations: 30.56 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.01596, allocations: 1.25 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001371/0.0161, allocations: 50.31 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01613, allocations: 55.41 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.01619, allocations: 103.5 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.0162, allocations: 25.7 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.01623, allocations: 88.12 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.01625, allocations: 8.453 kB / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.01629, allocations: 14.95 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.01637, allocations: 314.8 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.01639, allocations: 7.938 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.0164, allocations: 0.9375 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.01644, allocations: 18.06 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01644, allocations: 0 / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.986e-05/0.01651, allocations: 38.17 kB / 484.6 MB, free: 2.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01653, allocations: 7.984 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.01653, allocations: 5 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01654, allocations: 3.938 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.01662, allocations: 13.89 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.01663, allocations: 0 / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.01667, allocations: 11.98 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01668, allocations: 0.875 kB / 484.6 MB, free: 2.207 MB / 442.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 (2): * Single equations (assignments): 2 * 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.499e-05/0.01673, allocations: 109.8 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.01676, allocations: 10.34 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.01679, allocations: 4.031 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.01679, allocations: 3.938 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01679, allocations: 0 / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.0168, allocations: 3.984 kB / 484.7 MB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.01691, allocations: 73.86 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01692, allocations: 1.688 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.01697, allocations: 15.97 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01697, allocations: 4 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.01698, allocations: 1.781 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01698, allocations: 3.938 kB / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01698, allocations: 0 / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.01708, allocations: 135.7 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.01709, allocations: 4.75 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.0171, allocations: 4 kB / 485 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.01717, allocations: 12.64 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.0172, allocations: 8.234 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.0172, allocations: 3.984 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.162e-05/0.01721, allocations: 12.84 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01721, allocations: 1.406 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000204/0.01742, allocations: 15.94 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001212/0.01754, allocations: 88.34 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.01761, allocations: 21.52 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01761, allocations: 2.188 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.01764, allocations: 20.84 kB / 485.2 MB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.01782, allocations: 7.828 kB / 485.2 MB, free: 1.605 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.01809, allocations: 120.2 kB / 485.3 MB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.01813, allocations: 60.16 kB / 485.3 MB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.01818, allocations: 10.22 kB / 485.4 MB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.01825, allocations: 51.38 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01825, allocations: 0 / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of Templates: time 0.007517/0.02576, allocations: 0.8985 MB / 486.3 MB, free: 500 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7727040047757328]