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.0008145/0.0008145, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008035/0.0008035, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8353/0.8353, allocations: 177.2 MB / 203.5 MB, free: 5.734 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-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 0.6792/0.6792, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 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.222e-06/1.222e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.643e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001563/0.00158, allocations: 1.454 MB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.002417, allocations: 0.7632 MB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.002445, allocations: 0 / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.00247, allocations: 3.938 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.002503, allocations: 0 / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.002846, allocations: 139.4 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.002909, allocations: 31.92 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.002987, allocations: 4 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.003035, allocations: 19.92 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.003082, allocations: 19.97 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003101, allocations: 8 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.003352, allocations: 251.4 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.003363, allocations: 0 / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.003382, allocations: 19.91 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.003843, allocations: 211.4 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003845, allocations: 0 / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003846, allocations: 0 / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003849, allocations: 0 / 0.6222 GB, free: 10.23 MB / 0.5886 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.0003584/0.004208, allocations: 301.9 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.004238, allocations: 8.031 kB / 0.6225 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.004477, allocations: 68.84 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.857e-05/0.004546, allocations: 113.7 kB / 0.6227 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.004567, allocations: 8.375 kB / 0.6227 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.004576, allocations: 384 / 0.6227 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.004742, allocations: 78.19 kB / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.004748, allocations: 192 / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.004757, allocations: 384 / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004762, allocations: 7.938 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.004961, allocations: 95.89 kB / 0.6228 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.005281, allocations: 228.5 kB / 0.6231 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.005468, allocations: 106.4 kB / 0.6232 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.005567, allocations: 48.88 kB / 0.6232 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.005579, allocations: 0 / 0.6232 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.005597, allocations: 38.5 kB / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.005598, allocations: 0 / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.005971, allocations: 169.5 kB / 0.6234 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.005995, allocations: 51.41 kB / 0.6235 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.006053, allocations: 110 kB / 0.6236 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.006064, allocations: 25.7 kB / 0.6236 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.006096, allocations: 84.14 kB / 0.6237 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.006113, allocations: 3.953 kB / 0.6237 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.00614, allocations: 17.66 kB / 0.6237 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.006208, allocations: 318.8 kB / 0.624 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.006307, allocations: 47.95 kB / 0.624 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.006397, allocations: 39.95 kB / 0.6241 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.006581, allocations: 88.83 kB / 0.6242 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006582, allocations: 4 kB / 0.6242 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/0.006797, allocations: 121.5 kB / 0.6243 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.006809, allocations: 11.94 kB / 0.6243 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006813, allocations: 4.031 kB / 0.6243 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.006823, allocations: 0 / 0.6243 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.006907, allocations: 23.97 kB / 0.6243 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.006911, allocations: 0 / 0.6243 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.006961, allocations: 16.23 kB / 0.6243 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.006966, allocations: 0 / 0.6243 GB, free: 7.859 MB / 0.5886 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 5.838e-05/0.007025, allocations: 122.8 kB / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.00704, allocations: 11.89 kB / 0.6245 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.007064, allocations: 11.27 kB / 0.6245 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.007067, allocations: 4 kB / 0.6245 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.00707, allocations: 0 / 0.6245 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.007072, allocations: 0 / 0.6245 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.007158, allocations: 113.3 kB / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007158, allocations: 0 / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.007222, allocations: 23.97 kB / 0.6246 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007223, allocations: 0 / 0.6246 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007231, allocations: 7.938 kB / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.007232, allocations: 0 / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007233, allocations: 0 / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.007466, allocations: 219.4 kB / 0.6248 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.007472, allocations: 7.938 kB / 0.6248 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007484, allocations: 7.938 kB / 0.6248 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.007547, allocations: 15.97 kB / 0.6248 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.007578, allocations: 8.031 kB / 0.6249 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007583, allocations: 3.984 kB / 0.6249 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.007609, allocations: 83.28 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007609, allocations: 0 / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001513/0.00776, allocations: 15.94 kB / 0.625 GB, free: 7.16 MB / 0.5886 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 9.967e-05/0.00786, allocations: 107.2 kB / 0.6251 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.008097, allocations: 95.91 kB / 0.6251 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008099, allocations: 3.938 kB / 0.6252 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.008197, allocations: 52 kB / 0.6252 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.008374, allocations: 7.984 kB / 0.6252 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.008699, allocations: 186.5 kB / 0.6254 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.008739, allocations: 63.34 kB / 0.6254 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.008771, allocations: 8.5 kB / 0.6255 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.008771, allocations: 0 / 0.6255 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of Templates: time 0.001585/0.01036, allocations: 0.9111 MB / 0.6263 GB, free: 5.688 MB / 0.5886 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: 4.991347913630307] Failed to read output from testmodel.py, exit status != 0: 0.014354683458805084 0.022771048000000002 0.017360407 Calling exit ...