Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.0007415/0.0007415, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007732/0.0007732, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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.8676/0.8676, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.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-531:190: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-531:198: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.7357/0.7357, allocations: 203.8 MB / 0.5049 GB, free: 0.6953 MB / 410.7 MB " [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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: IDEAS 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.0009647/0.0009647, allocations: 76.08 kB / 0.7195 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4873, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002134/0.4894, allocations: 1.467 MB / 0.8205 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006262/0.49, allocations: 398.7 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.4901, allocations: 1.812 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.4901, allocations: 4.656 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.4902, allocations: 5.062 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.4906, allocations: 119.5 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.742e-05/0.4907, allocations: 26.52 kB / 0.821 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.4908, allocations: 6.984 kB / 0.8211 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.4908, allocations: 9.562 kB / 0.8211 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.4909, allocations: 18.52 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.4909, allocations: 2.562 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.4912, allocations: 273.5 kB / 0.8213 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.4913, allocations: 6.156 kB / 0.8214 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.4913, allocations: 11.12 kB / 0.8214 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.4915, allocations: 109.8 kB / 0.8215 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4915, allocations: 4.688 kB / 0.8215 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4915, allocations: 1.125 kB / 0.8215 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4915, allocations: 1.062 kB / 0.8215 GB, free: 23.76 MB / 0.6355 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.0003485/0.4918, allocations: 293.1 kB / 0.8218 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4919, allocations: 11.47 kB / 0.8218 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.4919, allocations: 3.906 kB / 0.8218 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.492, allocations: 123.2 kB / 0.8219 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.492, allocations: 2.406 kB / 0.8219 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.492, allocations: 384 / 0.8219 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4922, allocations: 51.27 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.4922, allocations: 2.297 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4922, allocations: 3.938 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4922, allocations: 0 / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.4923, allocations: 39.48 kB / 0.822 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.4925, allocations: 220 kB / 0.8222 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.4926, allocations: 41.75 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.4927, allocations: 24.66 kB / 0.8223 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.493, allocations: 76.83 kB / 0.8223 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.493, allocations: 32.55 kB / 0.8224 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.493, allocations: 0 / 0.8224 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002418/0.4933, allocations: 85.84 kB / 0.8224 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.4933, allocations: 52.81 kB / 0.8225 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/0.4933, allocations: 105.5 kB / 0.8226 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.4933, allocations: 26.45 kB / 0.8226 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.4934, allocations: 93.58 kB / 0.8227 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.4934, allocations: 4.984 kB / 0.8227 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.4934, allocations: 13.89 kB / 0.8227 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.318e-05/0.4934, allocations: 317 kB / 0.823 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.4935, allocations: 13.61 kB / 0.823 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.4935, allocations: 18.42 kB / 0.8231 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.4936, allocations: 44.47 kB / 0.8231 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4936, allocations: 3.938 kB / 0.8231 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.4937, allocations: 80.64 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4938, allocations: 5.875 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4938, allocations: 1.703 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4938, allocations: 0 / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.4938, allocations: 9.031 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4938, allocations: 0.75 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.4939, allocations: 6.672 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.4939, allocations: 0 / 0.8232 GB, free: 22.22 MB / 0.6355 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 4.004e-05/0.4939, allocations: 117.7 kB / 0.8233 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.4939, allocations: 2.984 kB / 0.8233 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.4941, allocations: 80.09 kB / 0.8234 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4941, allocations: 1.031 kB / 0.8234 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4941, allocations: 0.75 kB / 0.8234 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4941, allocations: 5.047 kB / 0.8234 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.763e-05/0.4942, allocations: 133.3 kB / 0.8235 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4942, allocations: 4 kB / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.4942, allocations: 13.14 kB / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4942, allocations: 0.8438 kB / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.4942, allocations: 0.8438 kB / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4942, allocations: 0 / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4942, allocations: 0.9688 kB / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.4943, allocations: 168 kB / 0.8237 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.4943, allocations: 10.58 kB / 0.8237 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.4944, allocations: 1.5 kB / 0.8237 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.4944, allocations: 8.656 kB / 0.8237 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.4944, allocations: 2.984 kB / 0.8237 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4944, allocations: 0.8125 kB / 0.8237 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.4945, allocations: 81.88 kB / 0.8238 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4945, allocations: 0 / 0.8238 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001597/0.4946, allocations: 21.36 kB / 0.8238 GB, free: 21.64 MB / 0.6355 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.0001299/0.4947, allocations: 106 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.4949, allocations: 36.36 kB / 0.824 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4949, allocations: 0.75 kB / 0.824 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.4949, allocations: 24.42 kB / 0.824 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.4951, allocations: 19.44 kB / 0.824 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.4954, allocations: 142.8 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.4954, allocations: 0.6767 MB / 0.8248 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.4955, allocations: 9.688 kB / 0.8248 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.4955, allocations: 0 / 0.8248 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.002339/0.4978, allocations: 0.7008 MB / 0.8255 GB, free: 20.63 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.618859048001468] Failed to read output from testmodel.py, exit status != 0: 0.5033863699063659 0.511780644 0.018484841000000002 Calling exit ...