Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001419/0.001419, allocations: 88.72 kB / 19.44 MB, free: 356 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.001598/0.001598, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.28/1.28, allocations: 154.8 MB / 414.3 MB, free: 468 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 178] 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.728e-05, allocations: 3.297 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002407/0.002445, allocations: 0.6075 MB / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004214, allocations: 0.8421 MB / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.004252, allocations: 1.469 kB / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.004282, allocations: 0 / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.004363, allocations: 8.141 kB / 0.5212 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004552, allocations: 19.86 kB / 0.5213 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.004645, allocations: 24.95 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004746, allocations: 7.938 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.004857, allocations: 16.95 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.004919, allocations: 11.97 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.00494, allocations: 0 / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.004956, allocations: 5 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.004974, allocations: 4 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.005014, allocations: 15.88 kB / 0.5213 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.005118, allocations: 20.92 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005122, allocations: 0 / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005123, allocations: 0.7812 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005127, allocations: 0 / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005963/0.005723, allocations: 259.4 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.005782, allocations: 8.031 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.005841, allocations: 9.391 kB / 0.5216 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.006008, allocations: 110.5 kB / 0.5217 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.006039, allocations: 4.375 kB / 0.5217 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.006051, allocations: 1.594 kB / 0.5217 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.00633, allocations: 54.22 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.006342, allocations: 192 / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.006355, allocations: 0.9062 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.006361, allocations: 2.156 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.006667, allocations: 43.83 kB / 0.5218 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.00721, allocations: 196.6 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.007446, allocations: 40.31 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.007625, allocations: 24.89 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.007648, allocations: 5.469 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.007701, allocations: 38.48 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.007702, allocations: 0 / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0006076/0.00831, allocations: 91.75 kB / 0.5222 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.008373, allocations: 55.41 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.008498, allocations: 97.86 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.008527, allocations: 29.64 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.008613, allocations: 89.47 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.008635, allocations: 4 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.008687, allocations: 9.719 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.008919, allocations: 315.5 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.009058, allocations: 23.25 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.009179, allocations: 19.98 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.009425, allocations: 44.75 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.009426, allocations: 0 / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000336/0.009762, allocations: 66.66 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.009784, allocations: 7.984 kB / 0.5229 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.009793, allocations: 4.719 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.009817, allocations: 0 / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.00995, allocations: 9.188 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.009964, allocations: 3.984 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.01004, allocations: 10.78 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01005, allocations: 0 / 0.523 GB, free: 14.95 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001301/0.01018, allocations: 109.8 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.01023, allocations: 7.922 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.01026, allocations: 11.25 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.01026, allocations: 4 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01027, allocations: 0 / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01027, allocations: 2.75 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.0105, allocations: 101.3 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.01051, allocations: 4 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.0106, allocations: 8 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.01061, allocations: 3.984 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01062, allocations: 4 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.01063, allocations: 3.938 kB / 0.5232 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01063, allocations: 0.875 kB / 0.5232 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.01102, allocations: 160.5 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01104, allocations: 8.859 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01105, allocations: 0 / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.0112, allocations: 16.45 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.01127, allocations: 7.938 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01127, allocations: 5.453 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.01136, allocations: 87.22 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01136, allocations: 0 / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004003/0.01176, allocations: 4 kB / 0.5235 GB, free: 14.36 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001579/0.01192, allocations: 93.69 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.01224, allocations: 39.95 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01224, allocations: 2.781 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.01239, allocations: 23.97 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.01288, allocations: 10.05 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.01331, allocations: 116.6 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.287e-05/0.01341, allocations: 63.34 kB / 0.5238 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.01345, allocations: 3.969 kB / 0.5238 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.0135, allocations: 12.5 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.0135, allocations: 0 / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.004168/0.01767, allocations: 0.6491 MB / 0.5245 GB, free: 13.33 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.999513947986998]