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.0009987/0.0009987, allocations: 92.22 kB / 19.65 MB, free: 276 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.001219/0.001219, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8326/0.8326, allocations: 154.8 MB / 414.7 MB, free: 0.4922 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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0.9844 kB / 0.5205 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.705e-05, allocations: 4.422 kB / 0.5205 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.004545/0.004572, allocations: 0.6196 MB / 0.5211 GB, free: 288 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.005528, allocations: 0.8607 MB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.00556, allocations: 1.469 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.00559, allocations: 4 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.005654, allocations: 4.922 kB / 0.522 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.0058, allocations: 21.75 kB / 0.522 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.00587, allocations: 26.11 kB / 0.522 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.005959, allocations: 8 kB / 0.522 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.006033, allocations: 12.95 kB / 0.522 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.006075, allocations: 7.984 kB / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.006097, allocations: 8.984 kB / 0.5221 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.006105, allocations: 3.938 kB / 0.5221 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.006122, allocations: 11.94 kB / 0.5221 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.006143, allocations: 4.812 kB / 0.5221 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.006222, allocations: 15.97 kB / 0.5221 GB, free: 15.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006224, allocations: 1.281 kB / 0.5221 GB, free: 15.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006224, allocations: 0 / 0.5221 GB, free: 15.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.006228, allocations: 4 kB / 0.5221 GB, free: 15.29 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.0003677/0.006596, allocations: 348.9 kB / 0.5224 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.006636, allocations: 13.06 kB / 0.5224 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.006671, allocations: 5.234 kB / 0.5225 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.006759, allocations: 112.6 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.006781, allocations: 5.531 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.006793, allocations: 384 / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.006927, allocations: 58.94 kB / 0.5226 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006937, allocations: 0.6875 kB / 0.5226 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006947, allocations: 6.094 kB / 0.5226 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.006955, allocations: 384 / 0.5226 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.006992, allocations: 11.92 kB / 0.5226 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.0103, allocations: 247.8 kB / 0.5229 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.455e-05/0.01037, allocations: 44.84 kB / 0.5229 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.0104, allocations: 15.75 kB / 0.5229 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.01041, allocations: 0 / 0.5229 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.01044, allocations: 37.33 kB / 0.523 GB, free: 14.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.01044, allocations: 1.656 kB / 0.523 GB, free: 14.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.0106, allocations: 49.62 kB / 0.523 GB, free: 14.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.01063, allocations: 51.41 kB / 0.5231 GB, free: 14.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.0107, allocations: 161.9 kB / 0.5232 GB, free: 13.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.01072, allocations: 26.45 kB / 0.5232 GB, free: 13.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.01076, allocations: 134.8 kB / 0.5234 GB, free: 13.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.01078, allocations: 1.406 kB / 0.5234 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.01081, allocations: 19.38 kB / 0.5234 GB, free: 13.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01093, allocations: 496.1 kB / 0.5239 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.01095, allocations: 9.328 kB / 0.5239 GB, free: 13.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.01096, allocations: 3.938 kB / 0.5239 GB, free: 13.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.011, allocations: 21 kB / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.011, allocations: 0 / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.07e-05/0.01107, allocations: 41.83 kB / 0.5239 GB, free: 13.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.01109, allocations: 6.688 kB / 0.5239 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01109, allocations: 3.938 kB / 0.5239 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01111, allocations: 7.984 kB / 0.524 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.01118, allocations: 4 kB / 0.524 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01119, allocations: 0 / 0.524 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.01121, allocations: 7.984 kB / 0.524 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.01122, allocations: 0 / 0.524 GB, free: 13.18 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 6.921e-05/0.01129, allocations: 161 kB / 0.5241 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.01131, allocations: 4.5 kB / 0.5241 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.01134, allocations: 8.219 kB / 0.5241 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01134, allocations: 0 / 0.5241 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01134, allocations: 0 / 0.5241 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.01134, allocations: 1.625 kB / 0.5241 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.01145, allocations: 120.6 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01145, allocations: 0 / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.01148, allocations: 8 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01148, allocations: 0.9375 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.01149, allocations: 3.984 kB / 0.5243 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01149, allocations: 7.875 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01149, allocations: 0.9375 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.0116, allocations: 187.2 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.01161, allocations: 7.938 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.01162, allocations: 4 kB / 0.5245 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.01167, allocations: 3.938 kB / 0.5245 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.01172, allocations: 15.92 kB / 0.5245 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.01172, allocations: 0 / 0.5245 GB, free: 12.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.01176, allocations: 123.2 kB / 0.5246 GB, free: 12.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01176, allocations: 0 / 0.5246 GB, free: 12.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.01197, allocations: 4 kB / 0.5246 GB, free: 12.47 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 7.367e-05/0.01204, allocations: 94.09 kB / 0.5247 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.01213, allocations: 23.67 kB / 0.5247 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01213, allocations: 0 / 0.5247 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.01216, allocations: 15.69 kB / 0.5247 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.0124, allocations: 9.453 kB / 0.5247 GB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.01265, allocations: 122.3 kB / 0.5249 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.01269, allocations: 51.86 kB / 0.5249 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.17e-05/0.01271, allocations: 6.156 kB / 0.5249 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.01274, allocations: 12.5 kB / 0.5249 GB, free: 12.08 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01274, allocations: 4 kB / 0.5249 GB, free: 12.07 MB / 458.7 MB Notification: Performance of Templates: time 0.002824/0.01557, allocations: 0.6551 MB / 0.5256 GB, free: 11.45 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.9518089299090207]