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.001407/0.001407, allocations: 81.34 kB / 19.18 MB, free: 2.531 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.001537/0.001537, allocations: 171.5 kB / 22.47 MB, free: 5.352 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.186/1.186, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.634e-06/1.634e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.041e-05, allocations: 6.125 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002696/0.002726, allocations: 1.457 MB / 0.62 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.004203, allocations: 0.771 MB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.00424, allocations: 0 / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.004264, allocations: 0 / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.004339, allocations: 7.938 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.00483, allocations: 127.4 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.004917, allocations: 35.92 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.005004, allocations: 7.984 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.005084, allocations: 19.92 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.005146, allocations: 15.97 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.005166, allocations: 4 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.005595, allocations: 251.5 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.005615, allocations: 4 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.005647, allocations: 11.98 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.005991, allocations: 211.4 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.005995, allocations: 0 / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005996, allocations: 3.938 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.006001, allocations: 3.938 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB 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.000596/0.006597, allocations: 297.9 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.006639, allocations: 8.031 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.007148, allocations: 72.8 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.007266, allocations: 113.8 kB / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.007291, allocations: 384 / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.007303, allocations: 384 / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.007652, allocations: 90.12 kB / 0.622 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.007663, allocations: 4.188 kB / 0.622 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.007676, allocations: 384 / 0.622 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.007683, allocations: 3.938 kB / 0.622 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.008151, allocations: 91.89 kB / 0.6221 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.008696, allocations: 244.5 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.009123, allocations: 94.44 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.009343, allocations: 48.88 kB / 0.6225 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.009361, allocations: 0 / 0.6225 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.009395, allocations: 38.5 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.009396, allocations: 4 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007888/0.01018, allocations: 165.5 kB / 0.6227 GB, free: 268 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.01024, allocations: 51.41 kB / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.01034, allocations: 105.8 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01036, allocations: 25.7 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.01043, allocations: 84.14 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.01046, allocations: 16.02 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.0105, allocations: 9.719 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.01067, allocations: 326.8 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.01089, allocations: 39.95 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.01111, allocations: 47.95 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.01153, allocations: 92.77 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01153, allocations: 0 / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004964/0.01203, allocations: 125.6 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.01205, allocations: 7.938 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01206, allocations: 0 / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.01208, allocations: 3.984 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.01226, allocations: 31.94 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01226, allocations: 0 / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.01238, allocations: 11.98 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.0124, allocations: 7.984 kB / 0.6236 GB, free: 15.24 MB / 0.545 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 (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 9.754e-05/0.01249, allocations: 107.7 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.01253, allocations: 7.891 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.01256, allocations: 15.31 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01257, allocations: 3.938 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.01257, allocations: 0 / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01257, allocations: 0 / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.01275, allocations: 109.3 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01275, allocations: 0 / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.01289, allocations: 24.22 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.0129, allocations: 0 / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01291, allocations: 7.938 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01291, allocations: 4 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01291, allocations: 0 / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.01345, allocations: 219.4 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.01346, allocations: 7.938 kB / 0.6241 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01348, allocations: 3.938 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.01363, allocations: 19.97 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.01368, allocations: 3.984 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.01368, allocations: 0 / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.01374, allocations: 83.28 kB / 0.6242 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01374, allocations: 4.031 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002478/0.01398, allocations: 12 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB 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.0002012/0.01418, allocations: 107.2 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.01467, allocations: 91.91 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01467, allocations: 3.938 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.0149, allocations: 55.94 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.01522, allocations: 8 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.01588, allocations: 160.8 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.01594, allocations: 59.34 kB / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.487e-05/0.01601, allocations: 8 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.01605, allocations: 12.5 kB / 0.6247 GB, free: 14.01 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.01605, allocations: 4 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of Templates: time 0.003652/0.01971, allocations: 0.873 MB / 0.6255 GB, free: 13.16 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.695037614554167] Failed to read output from testmodel.py, exit status != 0: 0.02902928739786148 0.043927132 0.034778052000000004 Calling exit ...