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.001268/0.001268, allocations: 100.4 kB / 19.7 MB, free: 452 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.001167/0.001167, allocations: 213 kB / 23 MB, free: 2.98 MB / 13.93 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.9441/0.9441, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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-531:686: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-531:694: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.759/0.759, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008973/0.0008973, allocations: 62.78 kB / 0.719 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4709, allocations: 102 MB / 0.8186 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001232/0.4721, allocations: 0.6103 MB / 0.8192 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006099/0.4727, allocations: 0.8434 MB / 0.82 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.4727, allocations: 0 / 0.82 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.4728, allocations: 3.938 kB / 0.82 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.4728, allocations: 0.6562 kB / 0.82 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.473, allocations: 23.75 kB / 0.82 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.473, allocations: 25.09 kB / 0.8201 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4731, allocations: 11.73 kB / 0.8201 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.4732, allocations: 13.56 kB / 0.8201 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.4732, allocations: 9.188 kB / 0.8201 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4733, allocations: 2.406 kB / 0.8201 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.4733, allocations: 0 / 0.8201 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.4733, allocations: 10.5 kB / 0.8201 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.4733, allocations: 7.328 kB / 0.8201 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.923e-05/0.4734, allocations: 31.22 kB / 0.8201 GB, free: 464 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4734, allocations: 0.6562 kB / 0.8201 GB, free: 464 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4734, allocations: 0 / 0.8201 GB, free: 464 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4734, allocations: 0 / 0.8201 GB, free: 464 kB / 0.6042 GB 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.0003128/0.4737, allocations: 264.7 kB / 0.8204 GB, free: 192 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4737, allocations: 10.03 kB / 0.8204 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.4738, allocations: 1.688 kB / 0.8204 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.831e-05/0.4738, allocations: 111.9 kB / 0.8205 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4738, allocations: 384 / 0.8205 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.4739, allocations: 4.375 kB / 0.8205 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.474, allocations: 56.59 kB / 0.8206 GB, free: 16 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.474, allocations: 192 / 0.8206 GB, free: 16 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.474, allocations: 7.219 kB / 0.8206 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.474, allocations: 4 kB / 0.8206 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4741, allocations: 33.88 kB / 0.8206 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.4744, allocations: 197.5 kB / 0.8208 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.4745, allocations: 39.88 kB / 0.8208 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.4746, allocations: 30.8 kB / 0.8209 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.4746, allocations: 3.938 kB / 0.8209 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4746, allocations: 37.66 kB / 0.8209 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.4746, allocations: 0 / 0.8209 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.4748, allocations: 86.28 kB / 0.821 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.4748, allocations: 51.41 kB / 0.821 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.4749, allocations: 102.1 kB / 0.8211 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4749, allocations: 33.58 kB / 0.8212 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.4749, allocations: 85.44 kB / 0.8212 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.475, allocations: 3.953 kB / 0.8212 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.475, allocations: 23.22 kB / 0.8213 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.4751, allocations: 315.4 kB / 0.8216 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.4751, allocations: 17.73 kB / 0.8216 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.4752, allocations: 14.66 kB / 0.8216 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.4753, allocations: 43.11 kB / 0.8216 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4753, allocations: 0 / 0.8216 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.4754, allocations: 73.47 kB / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4754, allocations: 6.156 kB / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4754, allocations: 0 / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4754, allocations: 0.7969 kB / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.4755, allocations: 13.88 kB / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4755, allocations: 0.6562 kB / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.4755, allocations: 10.45 kB / 0.8217 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4755, allocations: 0 / 0.8217 GB, free: 14.96 MB / 0.6198 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 6.131e-05/0.4756, allocations: 118 kB / 0.8219 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.4756, allocations: 4.547 kB / 0.8219 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.4756, allocations: 9.938 kB / 0.8219 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4756, allocations: 0 / 0.8219 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4756, allocations: 0 / 0.8219 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4756, allocations: 0.7969 kB / 0.8219 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.4757, allocations: 105.8 kB / 0.822 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4757, allocations: 0 / 0.822 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.4757, allocations: 9.188 kB / 0.822 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4757, allocations: 7.625 kB / 0.822 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.4758, allocations: 4.516 kB / 0.822 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4758, allocations: 4.656 kB / 0.822 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4758, allocations: 0 / 0.822 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.4759, allocations: 165.8 kB / 0.8222 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.4759, allocations: 4.828 kB / 0.8222 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4759, allocations: 3.5 kB / 0.8222 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.476, allocations: 10.2 kB / 0.8222 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.476, allocations: 6.531 kB / 0.8222 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.476, allocations: 6.641 kB / 0.8222 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.768e-05/0.4761, allocations: 78.98 kB / 0.8223 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4761, allocations: 0 / 0.8223 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000142/0.4762, allocations: 8.594 kB / 0.8223 GB, free: 14.46 MB / 0.6198 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 7.282e-05/0.4763, allocations: 93.77 kB / 0.8224 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.4764, allocations: 38.34 kB / 0.8224 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4764, allocations: 64 / 0.8224 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.4765, allocations: 32.92 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4767, allocations: 3.781 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.4769, allocations: 137.7 kB / 0.8226 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.477, allocations: 60.05 kB / 0.8226 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.477, allocations: 10.62 kB / 0.8226 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.477, allocations: 0 / 0.8226 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.001574/0.4786, allocations: 0.6038 MB / 0.8232 GB, free: 14.11 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.484946931246668] Failed to read output from testmodel.py, exit status != 0: 0.48393253283575177 0.49438925800000005 0.018893369 Calling exit ...