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.001038/0.001038, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001278/0.001278, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.059/1.059, allocations: 177.2 MB / 203.8 MB, free: 5.473 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-535:34: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-535:42: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.8547/0.8547, allocations: 154.9 MB / 415.1 MB, free: 236 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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.337e-05, allocations: 2.312 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001679/0.001702, allocations: 0.8004 MB / 481.2 MB, free: 5.711 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002786, allocations: 0.914 MB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.002836, allocations: 0 / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.002874, allocations: 11.86 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.002982, allocations: 16.08 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003158, allocations: 39.89 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.003277, allocations: 86.95 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003381, allocations: 23.91 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.003501, allocations: 54.58 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.003585, allocations: 38.36 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.003612, allocations: 11.98 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.003625, allocations: 8 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.003651, allocations: 15.92 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.00368, allocations: 31.89 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003797, allocations: 61.2 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.0038, allocations: 3.938 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003801, allocations: 0 / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.003805, allocations: 0 / 482.5 MB, free: 4.418 MB / 442.7 MB 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.0003935/0.004199, allocations: 282.9 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.004237, allocations: 16.02 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.004266, allocations: 4.938 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.00436, allocations: 121.7 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.004379, allocations: 5 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.00439, allocations: 4.375 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.004564, allocations: 92.45 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004572, allocations: 7.875 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.004584, allocations: 4 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.00459, allocations: 13.64 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.004636, allocations: 15.98 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.004942, allocations: 192.2 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.005175, allocations: 68.3 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.005208, allocations: 16.86 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.005224, allocations: 4.078 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.00525, allocations: 42.56 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.005252, allocations: 0 / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001484/0.0054, allocations: 62.33 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.005433, allocations: 52.62 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.005508, allocations: 138.4 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.005521, allocations: 29.7 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.005549, allocations: 85.2 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.005572, allocations: 23.77 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.005606, allocations: 25.7 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.005708, allocations: 320 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.005727, allocations: 7.984 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.005746, allocations: 8 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.005795, allocations: 34 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005797, allocations: 5.438 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.307e-05/0.00587, allocations: 57.67 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005881, allocations: 4 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005885, allocations: 1.5 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005896, allocations: 7.922 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.005974, allocations: 23.98 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005978, allocations: 0 / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.006016, allocations: 12.61 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006022, allocations: 0.75 kB / 484.3 MB, free: 2.535 MB / 442.7 MB 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 6.61e-05/0.006089, allocations: 113.8 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.006107, allocations: 9.219 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.006133, allocations: 12.42 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006134, allocations: 0 / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006139, allocations: 4.75 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006141, allocations: 0 / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.006246, allocations: 90.27 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.006248, allocations: 4.688 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.006303, allocations: 19.97 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006305, allocations: 4.562 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006312, allocations: 4.562 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006314, allocations: 7.938 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006315, allocations: 0.5938 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.006423, allocations: 153 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.006432, allocations: 3.938 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.006444, allocations: 7.984 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.006492, allocations: 8.719 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.00655, allocations: 19.97 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.006554, allocations: 1.219 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.006572, allocations: 20.83 kB / 484.8 MB, free: 2.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006572, allocations: 4 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.0067, allocations: 15.95 kB / 484.8 MB, free: 2 MB / 442.7 MB 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.088e-05/0.006771, allocations: 85.91 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.939e-05/0.00686, allocations: 30.59 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.006863, allocations: 4 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.006903, allocations: 28.84 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.007044, allocations: 15.5 kB / 484.9 MB, free: 1.832 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.007295, allocations: 165.7 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.007338, allocations: 64.5 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.988e-05/0.007378, allocations: 7.188 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.007455, allocations: 67.36 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007456, allocations: 4.562 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of Templates: time 0.003126/0.01058, allocations: 1.696 MB / 486.9 MB, free: 15.88 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.839556923136115]