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.0009395/0.0009395, allocations: 76.45 kB / 19.9 MB, free: 16 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.0009858/0.0009858, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9466/0.9466, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7255/0.7255, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 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: 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.001158/0.001158, allocations: 68.56 kB / 0.6198 GB, free: 11.76 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4765, allocations: 102 MB / 0.7194 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001435/0.4779, allocations: 0.594 MB / 0.72 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.4788, allocations: 0.85 MB / 0.7208 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.4788, allocations: 0 / 0.7208 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.4789, allocations: 0 / 0.7208 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.4789, allocations: 3.938 kB / 0.7208 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.4791, allocations: 26.17 kB / 0.7208 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.4792, allocations: 27.92 kB / 0.7209 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4793, allocations: 7.984 kB / 0.7209 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.4794, allocations: 11.98 kB / 0.7209 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.4795, allocations: 11.94 kB / 0.7209 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.4795, allocations: 0 / 0.7209 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-06/0.4795, allocations: 4 kB / 0.7209 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.4795, allocations: 7.984 kB / 0.7209 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.4795, allocations: 15.92 kB / 0.7209 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.4797, allocations: 23.91 kB / 0.721 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4797, allocations: 4 kB / 0.721 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4797, allocations: 0 / 0.721 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4797, allocations: 0 / 0.721 GB, free: 11.8 MB / 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.0004203/0.4801, allocations: 262.3 kB / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4801, allocations: 13.41 kB / 0.7212 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.4802, allocations: 12.86 kB / 0.7212 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.4802, allocations: 110.4 kB / 0.7213 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4803, allocations: 384 / 0.7213 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.4803, allocations: 4.375 kB / 0.7213 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.4804, allocations: 54.23 kB / 0.7214 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.4804, allocations: 192 / 0.7214 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4804, allocations: 3.938 kB / 0.7214 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4804, allocations: 0 / 0.7214 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.4805, allocations: 39.95 kB / 0.7214 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.4808, allocations: 196.6 kB / 0.7216 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.033e-05/0.4809, allocations: 38.56 kB / 0.7217 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.481, allocations: 24.89 kB / 0.7217 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.481, allocations: 11.92 kB / 0.7217 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.481, allocations: 34.56 kB / 0.7217 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.481, allocations: 0 / 0.7217 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002273/0.4812, allocations: 85.58 kB / 0.7218 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4812, allocations: 51.41 kB / 0.7219 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.4813, allocations: 101.8 kB / 0.722 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4813, allocations: 33.83 kB / 0.722 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.4813, allocations: 80.14 kB / 0.7221 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.4814, allocations: 3.953 kB / 0.7221 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.4814, allocations: 13.72 kB / 0.7221 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.4815, allocations: 318.8 kB / 0.7224 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.4815, allocations: 15.98 kB / 0.7224 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.4816, allocations: 15.98 kB / 0.7224 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.4816, allocations: 48.88 kB / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4816, allocations: 0 / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/0.4818, allocations: 77.53 kB / 0.7225 GB, free: 10 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4818, allocations: 8 kB / 0.7225 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.4818, allocations: 0 / 0.7225 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.4818, allocations: 0 / 0.7225 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.4819, allocations: 11.98 kB / 0.7226 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.4819, allocations: 0 / 0.7226 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.4819, allocations: 15.97 kB / 0.7226 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.4819, allocations: 0 / 0.7226 GB, free: 9.969 MB / 0.6042 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.643e-05/0.482, allocations: 110.8 kB / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.482, allocations: 7.938 kB / 0.7227 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.482, allocations: 11.27 kB / 0.7227 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.482, allocations: 0 / 0.7227 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.482, allocations: 0 / 0.7227 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.482, allocations: 0 / 0.7227 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.674e-05/0.4821, allocations: 113.2 kB / 0.7228 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4821, allocations: 4 kB / 0.7228 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.4821, allocations: 15.92 kB / 0.7228 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4821, allocations: 3.938 kB / 0.7228 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4821, allocations: 0 / 0.7228 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.4821, allocations: 0 / 0.7228 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4821, allocations: 7.984 kB / 0.7228 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.4823, allocations: 163.5 kB / 0.723 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.4823, allocations: 7.922 kB / 0.723 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.4823, allocations: 4 kB / 0.723 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.4823, allocations: 8.031 kB / 0.723 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.4824, allocations: 7.984 kB / 0.723 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.4824, allocations: 0 / 0.723 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.4824, allocations: 79.28 kB / 0.7231 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4824, allocations: 0 / 0.7231 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001406/0.4825, allocations: 4 kB / 0.7231 GB, free: 9.379 MB / 0.6042 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.221e-05/0.4826, allocations: 99.23 kB / 0.7232 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.4827, allocations: 43.91 kB / 0.7232 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.4827, allocations: 0 / 0.7232 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.4828, allocations: 23.97 kB / 0.7233 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.483, allocations: 4 kB / 0.7233 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.4832, allocations: 120.9 kB / 0.7234 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.4832, allocations: 59.34 kB / 0.7234 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.4833, allocations: 8.125 kB / 0.7234 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4833, allocations: 8.5 kB / 0.7234 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.4833, allocations: 0 / 0.7234 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of Templates: time 0.001843/0.4851, allocations: 0.652 MB / 0.7241 GB, free: 8.332 MB / 0.6042 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.142162445001304] Failed to read output from testmodel.py, exit status != 0: 0.4921751000219956 0.501003332 0.019572406 Calling exit ...