Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007333/0.0007333, allocations: 76.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.0007777/0.0007777, 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.9357/0.9357, allocations: 177.2 MB / 203.6 MB, free: 5.793 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.7515/0.7515, allocations: 154.7 MB / 414.7 MB, free: 0.7812 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.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008936/0.0008936, allocations: 67.91 kB / 0.6196 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4768/0.4777, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001579/0.4792, allocations: 0.7395 MB / 0.7198 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.48, allocations: 0.8855 MB / 0.7207 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.48, allocations: 1.25 kB / 0.7207 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.4801, allocations: 5.25 kB / 0.7207 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.4801, allocations: 15.45 kB / 0.7207 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.4803, allocations: 46.23 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.4804, allocations: 82.23 kB / 0.7208 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4805, allocations: 26.47 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.4806, allocations: 54.23 kB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.4807, allocations: 45.05 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.4807, allocations: 7.969 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.4808, allocations: 7.75 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.4808, allocations: 22.12 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.4808, allocations: 26.77 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.481, allocations: 95.36 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.481, allocations: 0.9688 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.481, allocations: 0 / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.481, allocations: 0 / 0.7211 GB, free: 22.28 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.0004629/0.4814, allocations: 319.1 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4815, allocations: 9.25 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.4815, allocations: 10.02 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.4816, allocations: 120.8 kB / 0.7216 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4816, allocations: 11.78 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.4816, allocations: 11.81 kB / 0.7216 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4818, allocations: 105.2 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4819, allocations: 0 / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4819, allocations: 5.062 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4819, allocations: 1.406 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.4821, allocations: 93.98 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.4824, allocations: 274.2 kB / 0.722 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.4828, allocations: 120.8 kB / 0.7221 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4829, allocations: 56.89 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.483, allocations: 1.062 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.483, allocations: 36.45 kB / 0.7222 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.483, allocations: 5.062 kB / 0.7222 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004135/0.4834, allocations: 186.2 kB / 0.7224 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.4834, allocations: 52.56 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.4835, allocations: 120.1 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.4835, allocations: 25.7 kB / 0.7226 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.4835, allocations: 102.2 kB / 0.7227 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.4835, allocations: 19.48 kB / 0.7227 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.4836, allocations: 24.08 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.4836, allocations: 322.3 kB / 0.7231 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4837, allocations: 44.66 kB / 0.7231 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.4838, allocations: 45.53 kB / 0.7231 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.484, allocations: 103.7 kB / 0.7232 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.484, allocations: 0 / 0.7232 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002325/0.4842, allocations: 137.9 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4842, allocations: 6.406 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4843, allocations: 5.344 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4843, allocations: 0 / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.4844, allocations: 26.98 kB / 0.7234 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4844, allocations: 2.141 kB / 0.7234 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.4844, allocations: 16.48 kB / 0.7234 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4844, allocations: 3.25 kB / 0.7234 GB, free: 20.56 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.557e-05/0.4845, allocations: 118 kB / 0.7235 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.4845, allocations: 12.23 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.4845, allocations: 11.52 kB / 0.7236 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4845, allocations: 1.062 kB / 0.7236 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4845, allocations: 4 kB / 0.7236 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4845, allocations: 8.734 kB / 0.7236 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.4846, allocations: 132.9 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4846, allocations: 3.188 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.4847, allocations: 21.48 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4847, allocations: 3.938 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4847, allocations: 2.484 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.4847, allocations: 1.125 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4847, allocations: 0.5156 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4849, allocations: 243.6 kB / 0.724 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.4849, allocations: 7.453 kB / 0.724 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.485, allocations: 2 kB / 0.724 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.485, allocations: 15.16 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.4851, allocations: 21.72 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.4851, allocations: 3.859 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.4851, allocations: 93.47 kB / 0.7241 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4851, allocations: 0 / 0.7241 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001479/0.4853, allocations: 24 kB / 0.7241 GB, free: 20 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 6.776e-05/0.4853, allocations: 93.48 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.4856, allocations: 103.3 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4856, allocations: 1.5 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4857, allocations: 63.31 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.4859, allocations: 11.16 kB / 0.7244 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.4862, allocations: 179.5 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.4862, allocations: 80.39 kB / 0.7246 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.4863, allocations: 13.55 kB / 0.7246 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.4863, allocations: 21.7 kB / 0.7247 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4863, allocations: 0 / 0.7247 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.003114/0.4894, allocations: 1.717 MB / 0.7263 GB, free: 19.46 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.369869605987333] Failed to read output from testmodel.py, exit status != 0: 0.4943264010362327 0.5024000080000001 0.019589017 Calling exit ...