Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001003/0.001003, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001113/0.001113, allocations: 173 kB / 24.06 MB, free: 452 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 0.9193/0.9193, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8502/0.8502, allocations: 154.6 MB / 415.6 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5215 GB, free: 1.906 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.72e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001112/0.00113, allocations: 0.6052 MB / 0.5221 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.001865, allocations: 0.8664 MB / 0.5229 GB, free: 456 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.001899, allocations: 0 / 0.5229 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.001922, allocations: 0.9375 kB / 0.5229 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.001981, allocations: 3.938 kB / 0.5229 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.002097, allocations: 13.17 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.002154, allocations: 27.92 kB / 0.523 GB, free: 412 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.002232, allocations: 7.984 kB / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.002298, allocations: 17.31 kB / 0.523 GB, free: 388 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.002335, allocations: 15.92 kB / 0.523 GB, free: 372 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.002351, allocations: 0 / 0.523 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.002359, allocations: 4 kB / 0.523 GB, free: 368 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.002375, allocations: 4.797 kB / 0.523 GB, free: 364 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.002392, allocations: 11.98 kB / 0.523 GB, free: 352 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.73e-05/0.002459, allocations: 17.2 kB / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002461, allocations: 0 / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002461, allocations: 0 / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.002465, allocations: 1.344 kB / 0.5231 GB, free: 336 kB / 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.0003255/0.00279, allocations: 360.6 kB / 0.5234 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.002826, allocations: 8.031 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.002855, allocations: 9.672 kB / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.002939, allocations: 108.6 kB / 0.5235 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.002956, allocations: 384 / 0.5235 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.002964, allocations: 10.11 kB / 0.5235 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003082, allocations: 58.94 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.00309, allocations: 8.125 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.003099, allocations: 384 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003104, allocations: 2.531 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.003127, allocations: 7.938 kB / 0.5236 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.003347, allocations: 228.5 kB / 0.5238 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.003395, allocations: 31.06 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.00341, allocations: 13.16 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.00342, allocations: 0 / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.003444, allocations: 49.38 kB / 0.5239 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003445, allocations: 0 / 0.5239 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001178/0.003563, allocations: 42.56 kB / 0.524 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.00359, allocations: 55.41 kB / 0.524 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.003656, allocations: 162.9 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.003666, allocations: 25.7 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.003702, allocations: 127.8 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.003718, allocations: 7.953 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.003744, allocations: 31.28 kB / 0.5243 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.003853, allocations: 493.1 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.003865, allocations: 4 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.003876, allocations: 4.438 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.0039, allocations: 16.41 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003901, allocations: 1.219 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.312e-05/0.003954, allocations: 41.69 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.003966, allocations: 4.562 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.00397, allocations: 0 / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.003979, allocations: 9.719 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.00403, allocations: 7.984 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004032, allocations: 0 / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.00405, allocations: 4 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-06/0.004053, allocations: 1.719 kB / 0.5249 GB, free: 14.25 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 5.653e-05/0.004109, allocations: 156.5 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.004124, allocations: 4 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.404e-05/0.004138, allocations: 6.906 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.004141, allocations: 4.688 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.004144, allocations: 3.984 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004147, allocations: 1.219 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.00423, allocations: 101.2 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004232, allocations: 0 / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.004252, allocations: 10.73 kB / 0.5252 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004253, allocations: 4 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-06/0.004257, allocations: 0 / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.004257, allocations: 0 / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004257, allocations: 0 / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.633e-05/0.004344, allocations: 187.9 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.004349, allocations: 3.953 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.004358, allocations: 6.938 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.004389, allocations: 11.94 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.004421, allocations: 7.969 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.004425, allocations: 7.938 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.004455, allocations: 119.2 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004455, allocations: 0 / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000132/0.004587, allocations: 8 kB / 0.5255 GB, free: 13.57 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 6.56e-05/0.004653, allocations: 104.1 kB / 0.5256 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.004714, allocations: 17 kB / 0.5256 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.02e-07/0.004715, allocations: 0 / 0.5256 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.004734, allocations: 17.2 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.004899, allocations: 4 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.005082, allocations: 122.9 kB / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.005113, allocations: 59.95 kB / 0.5258 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.005131, allocations: 2 kB / 0.5258 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.005176, allocations: 74.19 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.005176, allocations: 0 / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.001939/0.007115, allocations: 0.7166 MB / 0.5266 GB, free: 12.44 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5375390388071537]