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.001216/0.001216, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001163/0.001163, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.8193/0.8193, allocations: 154.9 MB / 415.9 MB, free: 276 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.054e-06/2.054e-06, allocations: 0 / 0.5219 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.89e-05, allocations: 3.969 kB / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001509/0.001538, allocations: 0.7535 MB / 0.5226 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.002463, allocations: 0.918 MB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.002509, allocations: 1.344 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.002538, allocations: 3.938 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.002615, allocations: 3.938 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.00276, allocations: 44.66 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.00285, allocations: 91.75 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.002944, allocations: 17.33 kB / 0.5237 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.003033, allocations: 47.91 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.003094, allocations: 39.88 kB / 0.5238 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.003115, allocations: 10.56 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.003127, allocations: 8 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.00315, allocations: 23.91 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.003174, allocations: 19.97 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.454e-05/0.003269, allocations: 75.66 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003271, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003271, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003276, allocations: 4.438 kB / 0.5239 GB, free: 15.5 MB / 0.4948 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.0003792/0.003655, allocations: 405.8 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.003689, allocations: 12.02 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.003722, allocations: 12.89 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.434e-05/0.003807, allocations: 120.5 kB / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.003823, allocations: 5.344 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.003834, allocations: 4.375 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.003984, allocations: 95.84 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.00399, allocations: 8.875 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.003998, allocations: 0 / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.004003, allocations: 0 / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.00405, allocations: 20.95 kB / 0.5246 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.004385, allocations: 300.9 kB / 0.5248 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.004624, allocations: 84.88 kB / 0.5249 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.004653, allocations: 15.69 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.004665, allocations: 4 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004684, allocations: 38.02 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.004685, allocations: 0 / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000161/0.004846, allocations: 83.36 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.00487, allocations: 51.41 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.004945, allocations: 181.8 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.004956, allocations: 27.33 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.005006, allocations: 142.8 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.005029, allocations: 19.8 kB / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.005067, allocations: 31.34 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.005185, allocations: 0.4922 MB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.005211, allocations: 9.375 kB / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.005238, allocations: 15.97 kB / 0.526 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.005327, allocations: 36.14 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005328, allocations: 0 / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.00543, allocations: 66.8 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.005441, allocations: 5.469 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.005447, allocations: 4 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.005455, allocations: 4 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.005534, allocations: 21.31 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.005537, allocations: 4.062 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.005575, allocations: 4 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.005582, allocations: 4 kB / 0.5261 GB, free: 13.02 MB / 0.4948 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 8.136e-05/0.005664, allocations: 166.2 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.005687, allocations: 7.953 kB / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.005711, allocations: 12.44 kB / 0.5263 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005713, allocations: 2.281 kB / 0.5263 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.005715, allocations: 0 / 0.5263 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005718, allocations: 0 / 0.5263 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.005831, allocations: 121.2 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005832, allocations: 0 / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.005891, allocations: 31.86 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005892, allocations: 2.75 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.005898, allocations: 0 / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.0059, allocations: 0 / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.005901, allocations: 0 / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.006057, allocations: 215.9 kB / 0.5267 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.00607, allocations: 15.83 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.006083, allocations: 7.984 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.006134, allocations: 5.375 kB / 0.5267 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.006196, allocations: 23.97 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.006201, allocations: 0 / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.006246, allocations: 135.1 kB / 0.5269 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006246, allocations: 4.875 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001519/0.006398, allocations: 16 kB / 0.5269 GB, free: 12.22 MB / 0.4948 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 8.735e-05/0.006485, allocations: 100.2 kB / 0.527 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.006574, allocations: 36.31 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006576, allocations: 4.656 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.006626, allocations: 40.25 kB / 0.5271 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.006818, allocations: 15.31 kB / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.007095, allocations: 181.2 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.007135, allocations: 63.36 kB / 0.5273 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.007176, allocations: 11.12 kB / 0.5273 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.007258, allocations: 86.19 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.007258, allocations: 0 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.003136/0.01039, allocations: 1.871 MB / 0.5292 GB, free: 9.855 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.884486989118159]