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.001137/0.001137, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009934/0.0009934, allocations: 173 kB / 23.02 MB, free: 1.547 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.9569/0.9569, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7776/0.7776, allocations: 154.9 MB / 414.8 MB, free: 412 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 3.327e-06/3.327e-06, allocations: 0 / 0.5207 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.408e-05, allocations: 6.312 kB / 0.5207 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002339/0.002373, allocations: 0.7697 MB / 0.5214 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003695, allocations: 0.9039 MB / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.003754, allocations: 0 / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.003797, allocations: 7.875 kB / 0.5223 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.003913, allocations: 15.86 kB / 0.5223 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.004138, allocations: 36.55 kB / 0.5224 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004291, allocations: 88.97 kB / 0.5225 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.004428, allocations: 23.97 kB / 0.5225 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004563, allocations: 47.89 kB / 0.5225 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004667, allocations: 44.47 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.004703, allocations: 8 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.004721, allocations: 8.562 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.004756, allocations: 24.78 kB / 0.5226 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.004796, allocations: 19.92 kB / 0.5226 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004964, allocations: 71.72 kB / 0.5227 GB, free: 14.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.004968, allocations: 0.9688 kB / 0.5227 GB, free: 14.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004969, allocations: 0 / 0.5227 GB, free: 14.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.004976, allocations: 1.75 kB / 0.5227 GB, free: 14.65 MB / 458.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.0006097/0.005585, allocations: 404.4 kB / 0.5231 GB, free: 14.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.005644, allocations: 8.031 kB / 0.5231 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.005713, allocations: 12.89 kB / 0.5231 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.005854, allocations: 129 kB / 0.5232 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.005886, allocations: 8.375 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005904, allocations: 4.875 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.006139, allocations: 91.91 kB / 0.5233 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.00615, allocations: 4.812 kB / 0.5233 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.006165, allocations: 0 / 0.5233 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.00618, allocations: 7.984 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.00627, allocations: 24.61 kB / 0.5234 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.007097, allocations: 324.6 kB / 0.5237 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.007493, allocations: 79.86 kB / 0.5238 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.00756, allocations: 21.31 kB / 0.5238 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.007581, allocations: 3.984 kB / 0.5238 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.007609, allocations: 49.31 kB / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.007611, allocations: 1.594 kB / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002355/0.007847, allocations: 85.61 kB / 0.5239 GB, free: 13.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.007884, allocations: 51.41 kB / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.007984, allocations: 186.6 kB / 0.5241 GB, free: 13.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.008, allocations: 25.7 kB / 0.5242 GB, free: 13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.008058, allocations: 140 kB / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.008085, allocations: 19.8 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.008128, allocations: 31.36 kB / 0.5243 GB, free: 12.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.008256, allocations: 0.4922 MB / 0.5248 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.008288, allocations: 9.219 kB / 0.5248 GB, free: 12.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.008319, allocations: 15.98 kB / 0.5248 GB, free: 12.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.008389, allocations: 41.92 kB / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.008392, allocations: 0 / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001258/0.008518, allocations: 73.62 kB / 0.525 GB, free: 12.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.008534, allocations: 7.984 kB / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.008539, allocations: 0 / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.008552, allocations: 5.672 kB / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.008633, allocations: 19.98 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.008642, allocations: 4 kB / 0.525 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.008681, allocations: 8 kB / 0.525 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.008689, allocations: 12.48 kB / 0.525 GB, free: 12.09 MB / 458.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 7.724e-05/0.008766, allocations: 161.4 kB / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.008788, allocations: 7.953 kB / 0.5252 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.008816, allocations: 13.56 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008818, allocations: 0 / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008823, allocations: 0 / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008826, allocations: 0.75 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.008944, allocations: 140.5 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008945, allocations: 0.875 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.009005, allocations: 19.97 kB / 0.5253 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009008, allocations: 1.156 kB / 0.5253 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.009019, allocations: 8 kB / 0.5253 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00902, allocations: 0 / 0.5253 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009022, allocations: 0.5312 kB / 0.5253 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.009193, allocations: 230.6 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.009205, allocations: 11.89 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.009219, allocations: 0 / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.009269, allocations: 11.98 kB / 0.5256 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.009335, allocations: 23.97 kB / 0.5256 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.009341, allocations: 0 / 0.5256 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.009388, allocations: 142.6 kB / 0.5258 GB, free: 11.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009388, allocations: 3.031 kB / 0.5258 GB, free: 11.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.009543, allocations: 15.94 kB / 0.5258 GB, free: 11.27 MB / 458.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 9.2e-05/0.009635, allocations: 95.25 kB / 0.5259 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009761, allocations: 47.59 kB / 0.5259 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009763, allocations: 0 / 0.5259 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.00982, allocations: 36.45 kB / 0.5259 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.01003, allocations: 17.42 kB / 0.526 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.01038, allocations: 181.9 kB / 0.5261 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.01043, allocations: 63.91 kB / 0.5262 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.01047, allocations: 10.42 kB / 0.5262 GB, free: 10.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01052, allocations: 28.42 kB / 0.5262 GB, free: 10.73 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01052, allocations: 0 / 0.5262 GB, free: 10.73 MB / 458.7 MB Notification: Performance of Templates: time 0.003627/0.01415, allocations: 1.817 MB / 0.528 GB, free: 9.016 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.598364622797817]