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.0008727/0.0008727, allocations: 85.2 kB / 19.87 MB, free: 4.613 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.0009332/0.0009332, allocations: 165 kB / 23.27 MB, free: 1.219 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.8918/0.8918, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7538/0.7538, allocations: 154.9 MB / 415.1 MB, free: 264 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.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 1.713e-06/1.713e-06, allocations: 0 / 0.5211 GB, free: 452 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.958e-05, allocations: 4.141 kB / 0.5211 GB, free: 448 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001167/0.001186, allocations: 0.6101 MB / 0.5217 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007256/0.001912, allocations: 0.8606 MB / 0.5225 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.001944, allocations: 1.094 kB / 0.5225 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.001968, allocations: 3.938 kB / 0.5225 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.002028, allocations: 5.703 kB / 0.5225 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.002152, allocations: 15.92 kB / 0.5226 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.498e-05/0.002207, allocations: 34.59 kB / 0.5226 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.002278, allocations: 0.5625 kB / 0.5226 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.00235, allocations: 15.98 kB / 0.5226 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.002386, allocations: 13.14 kB / 0.5226 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.0024, allocations: 0 / 0.5226 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.002407, allocations: 4 kB / 0.5226 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.002422, allocations: 8.719 kB / 0.5226 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.002441, allocations: 7.984 kB / 0.5226 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 5.985e-05/0.002501, allocations: 20.62 kB / 0.5227 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002503, allocations: 0 / 0.5227 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002503, allocations: 3.344 kB / 0.5227 GB, free: 14.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.002506, allocations: 0 / 0.5227 GB, free: 14.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002739/0.00278, allocations: 352.3 kB / 0.523 GB, free: 14.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.002813, allocations: 8.031 kB / 0.523 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.002836, allocations: 9.234 kB / 0.523 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.285e-05/0.002899, allocations: 116.5 kB / 0.5231 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.002914, allocations: 4.375 kB / 0.5231 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.002921, allocations: 4.359 kB / 0.5231 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.003016, allocations: 51.7 kB / 0.5232 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.003022, allocations: 192 / 0.5232 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.003029, allocations: 0.9375 kB / 0.5232 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.003036, allocations: 5.25 kB / 0.5232 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.003056, allocations: 11.92 kB / 0.5232 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.00325, allocations: 234 kB / 0.5234 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.003293, allocations: 43.03 kB / 0.5235 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.003308, allocations: 11.67 kB / 0.5235 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.003321, allocations: 4.062 kB / 0.5235 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.003339, allocations: 34.33 kB / 0.5235 GB, free: 13.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.00334, allocations: 0 / 0.5235 GB, free: 13.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001084/0.003449, allocations: 55.56 kB / 0.5236 GB, free: 13.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.003471, allocations: 51.41 kB / 0.5236 GB, free: 13.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.003531, allocations: 157.9 kB / 0.5238 GB, free: 13.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.003539, allocations: 29.69 kB / 0.5238 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.003574, allocations: 131.5 kB / 0.5239 GB, free: 13.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.003588, allocations: 4 kB / 0.5239 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.003609, allocations: 16 kB / 0.5239 GB, free: 13.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.003707, allocations: 0.4884 MB / 0.5244 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.003717, allocations: 4.641 kB / 0.5244 GB, free: 12.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.003726, allocations: 4.625 kB / 0.5244 GB, free: 12.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.003751, allocations: 17.12 kB / 0.5244 GB, free: 12.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003752, allocations: 0 / 0.5244 GB, free: 12.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.653e-05/0.003799, allocations: 41.59 kB / 0.5245 GB, free: 12.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.00381, allocations: 15.73 kB / 0.5245 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.003813, allocations: 0 / 0.5245 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.003823, allocations: 4.812 kB / 0.5245 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.003877, allocations: 4 kB / 0.5245 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.003879, allocations: 3.031 kB / 0.5245 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.003896, allocations: 4 kB / 0.5245 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.0039, allocations: 3.984 kB / 0.5245 GB, free: 12.78 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: 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 5.334e-05/0.003953, allocations: 152.6 kB / 0.5247 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.00397, allocations: 8 kB / 0.5247 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.00399, allocations: 3.312 kB / 0.5247 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.003992, allocations: 3.938 kB / 0.5247 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.003993, allocations: 0.5 kB / 0.5247 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.003996, allocations: 1.094 kB / 0.5247 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.163e-05/0.004077, allocations: 97.25 kB / 0.5248 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004078, allocations: 0 / 0.5248 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.004099, allocations: 12.44 kB / 0.5248 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.004101, allocations: 0.9688 kB / 0.5248 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.004105, allocations: 0 / 0.5248 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004105, allocations: 0 / 0.5248 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004106, allocations: 0.9375 kB / 0.5248 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.402e-05/0.0042, allocations: 199.8 kB / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.004206, allocations: 4.672 kB / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-06/0.004212, allocations: 0 / 0.525 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.958e-05/0.004242, allocations: 8.953 kB / 0.525 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.004272, allocations: 8 kB / 0.525 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.004276, allocations: 13.14 kB / 0.525 GB, free: 12.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.991e-05/0.004306, allocations: 123.2 kB / 0.5251 GB, free: 12.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004306, allocations: 0 / 0.5251 GB, free: 12.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001295/0.004436, allocations: 4 kB / 0.5251 GB, free: 12.1 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: 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 6.254e-05/0.004498, allocations: 93.59 kB / 0.5252 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.544e-05/0.004554, allocations: 23.61 kB / 0.5252 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.004555, allocations: 0 / 0.5252 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.004572, allocations: 13 kB / 0.5252 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.004724, allocations: 8 kB / 0.5253 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.005164, allocations: 126.3 kB / 0.5254 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.005193, allocations: 63.16 kB / 0.5254 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.704e-05/0.00521, allocations: 0 / 0.5254 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.005253, allocations: 70.2 kB / 0.5255 GB, free: 11.64 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005253, allocations: 0 / 0.5255 GB, free: 11.64 MB / 458.7 MB Notification: Performance of Templates: time 0.001879/0.007133, allocations: 0.7082 MB / 0.5262 GB, free: 10.97 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.244320589117706]