Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.0007138/0.0007138, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007752/0.0007752, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8578/0.8578, allocations: 177.2 MB / 203.6 MB, free: 5.77 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-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.7149/0.7149, allocations: 155 MB / 414.9 MB, free: 492 kB / 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.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [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.0008751/0.0008751, allocations: 67.89 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3974, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001389/0.3988, allocations: 0.7396 MB / 0.7202 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.3995, allocations: 0.8863 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.3996, allocations: 1.188 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3996, allocations: 5.203 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.3997, allocations: 10.12 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.3999, allocations: 47.23 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.3999, allocations: 82.58 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.4001, allocations: 22.06 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.4001, allocations: 53.75 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.497e-05/0.4002, allocations: 44.52 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.4002, allocations: 12.41 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.4003, allocations: 8.469 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.4003, allocations: 17.45 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.4003, allocations: 35.25 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.4004, allocations: 100.1 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4004, allocations: 0 / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4004, allocations: 0 / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4004, allocations: 1.125 kB / 0.7215 GB, free: 22.1 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004128/0.4009, allocations: 323.1 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4009, allocations: 14.06 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.4009, allocations: 8.641 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/0.401, allocations: 123.1 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.401, allocations: 6.719 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.401, allocations: 7.719 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.4012, allocations: 105.5 kB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4012, allocations: 0 / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4013, allocations: 1.422 kB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4013, allocations: 1.125 kB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.4015, allocations: 105 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.4018, allocations: 274.3 kB / 0.7224 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.4022, allocations: 112.1 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4023, allocations: 64.69 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4023, allocations: 1.062 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.4023, allocations: 37.42 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4023, allocations: 0 / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.4027, allocations: 186.3 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4028, allocations: 57.39 kB / 0.7229 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.4028, allocations: 123.3 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.4028, allocations: 26.8 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.4029, allocations: 97.55 kB / 0.7231 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4029, allocations: 19.83 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.4029, allocations: 23.39 kB / 0.7231 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.4029, allocations: 323.9 kB / 0.7234 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.403, allocations: 47.48 kB / 0.7235 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.4031, allocations: 49.22 kB / 0.7235 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.4033, allocations: 95.83 kB / 0.7236 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4033, allocations: 0 / 0.7236 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002333/0.4035, allocations: 142.3 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4036, allocations: 10.11 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4036, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4036, allocations: 2.047 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.4037, allocations: 26.72 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4037, allocations: 2.359 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.4037, allocations: 15.17 kB / 0.7238 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4037, allocations: 2.938 kB / 0.7238 GB, free: 20.37 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.768e-05/0.4038, allocations: 115.9 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.4038, allocations: 11.06 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.4038, allocations: 15.73 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4038, allocations: 1 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4038, allocations: 0 / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4038, allocations: 6.203 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.4039, allocations: 127.8 kB / 0.7241 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4039, allocations: 0 / 0.7241 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.404, allocations: 28.36 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.404, allocations: 1.031 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.404, allocations: 1.828 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.404, allocations: 14.19 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.404, allocations: 0 / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.4042, allocations: 234.7 kB / 0.7244 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.4043, allocations: 7.359 kB / 0.7244 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4043, allocations: 6.297 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.4043, allocations: 15.31 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.4044, allocations: 25.47 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4044, allocations: 3.25 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.4044, allocations: 97.78 kB / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4044, allocations: 0 / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001505/0.4046, allocations: 19.97 kB / 0.7245 GB, free: 19.81 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 7.054e-05/0.4047, allocations: 93.94 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.4049, allocations: 114.5 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4049, allocations: 1.188 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.405, allocations: 52.03 kB / 0.7248 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.4052, allocations: 9.406 kB / 0.7248 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.4055, allocations: 199.8 kB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.4056, allocations: 89.34 kB / 0.7251 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.4056, allocations: 18.39 kB / 0.7251 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4056, allocations: 1.031 kB / 0.7251 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.002332/0.408, allocations: 1.262 MB / 0.7263 GB, free: 19.33 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.366323053138331] Failed to read output from testmodel.py, exit status != 0: 0.413059304933995 0.421028171 0.018956367000000002 Calling exit ...