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.001058/0.001058, allocations: 76.52 kB / 19.91 MB, free: 4.641 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.001328/0.001328, allocations: 169.2 kB / 23.2 MB, free: 1.359 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.8903/0.8903, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-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.7033/0.7033, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: 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.001186/0.001186, allocations: 71.89 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4707, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001328/0.472, allocations: 0.609 MB / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006506/0.4727, allocations: 0.8469 MB / 0.7205 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.4727, allocations: 1.125 kB / 0.7205 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.4728, allocations: 0.6094 kB / 0.7205 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.4728, allocations: 7.938 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.473, allocations: 14.48 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.473, allocations: 34.05 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.4731, allocations: 7.953 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.4732, allocations: 15.02 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.4733, allocations: 11.31 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.4733, allocations: 2.281 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.4733, allocations: 2.281 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.4733, allocations: 6.609 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.4733, allocations: 11.17 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.4734, allocations: 35.64 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4734, allocations: 5.062 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4734, allocations: 0 / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4734, allocations: 0 / 0.7207 GB, free: 22.57 MB / 0.6355 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.0003379/0.4738, allocations: 261.2 kB / 0.7209 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4738, allocations: 9.094 kB / 0.7209 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.4738, allocations: 2.641 kB / 0.7209 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.553e-05/0.4739, allocations: 109.7 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4739, allocations: 1.594 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.4739, allocations: 1.438 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4741, allocations: 61.31 kB / 0.7211 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4741, allocations: 192 / 0.7211 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4741, allocations: 3.938 kB / 0.7211 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4741, allocations: 0 / 0.7211 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.4742, allocations: 43.08 kB / 0.7211 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.4744, allocations: 193.2 kB / 0.7213 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.4745, allocations: 38.02 kB / 0.7213 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.4745, allocations: 29.53 kB / 0.7214 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4746, allocations: 3.938 kB / 0.7214 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.4746, allocations: 33.41 kB / 0.7214 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.4746, allocations: 0 / 0.7214 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002473/0.4748, allocations: 87.05 kB / 0.7215 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.4748, allocations: 52.94 kB / 0.7215 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.4749, allocations: 100.7 kB / 0.7216 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.4749, allocations: 30.98 kB / 0.7217 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.4749, allocations: 85.66 kB / 0.7217 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.4749, allocations: 5.859 kB / 0.7218 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.475, allocations: 17.11 kB / 0.7218 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.13e-05/0.475, allocations: 313.3 kB / 0.7221 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.475, allocations: 23.62 kB / 0.7221 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.4751, allocations: 14.98 kB / 0.7221 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.4752, allocations: 46.7 kB / 0.7222 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4752, allocations: 1.25 kB / 0.7222 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.4753, allocations: 72.78 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4753, allocations: 7.594 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4753, allocations: 0.5625 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4753, allocations: 1.406 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.4754, allocations: 8.625 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.4754, allocations: 10.31 kB / 0.7222 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.4754, allocations: 8.188 kB / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4754, allocations: 1.984 kB / 0.7223 GB, free: 21.08 MB / 0.6355 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 3.546e-05/0.4754, allocations: 109.9 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.4754, allocations: 9.281 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.4755, allocations: 12.97 kB / 0.7224 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4755, allocations: 4.562 kB / 0.7224 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.4755, allocations: 1.219 kB / 0.7224 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.4755, allocations: 5.547 kB / 0.7224 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.4755, allocations: 1.719 kB / 0.7224 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.4755, allocations: 9.984 kB / 0.7224 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.4756, allocations: 13.22 kB / 0.7224 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001398/0.4757, allocations: 149.9 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001227/0.4758, allocations: 238.7 kB / 0.7228 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.482e-05/0.4759, allocations: 28.06 kB / 0.7228 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.617e-05/0.4759, allocations: 84.81 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of Backend: time 1.51e-07/0.4759, allocations: 0 / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4762, allocations: 98.47 kB / 0.723 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003176/0.4765, allocations: 0.5506 MB / 0.7235 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.00235/0.4788, allocations: 0.7386 MB / 0.7243 GB, free: 19.79 MB / 0.6355 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: 4.180697228992358] Failed to read output from testmodel.py, exit status != 0: 0.4851802750490606 0.49313292599999997 0.017934105000000002 Calling exit ...