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.001005/0.001005, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001334/0.001334, allocations: 169 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.9648/0.9648, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7956/0.7956, allocations: 154.9 MB / 415.9 MB, free: 244 kB / 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 1.964e-06/1.964e-06, allocations: 0 / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.378e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001331/0.001355, allocations: 0.613 MB / 0.5225 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.002168, allocations: 0.8656 MB / 0.5233 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.0022, allocations: 4 kB / 0.5233 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.002225, allocations: 3.938 kB / 0.5233 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.002288, allocations: 2.922 kB / 0.5233 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.002423, allocations: 19.92 kB / 0.5233 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.002481, allocations: 28.14 kB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.002556, allocations: 4.609 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.002625, allocations: 16.67 kB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.863e-05/0.002664, allocations: 11.98 kB / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.002679, allocations: 4.047 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.002686, allocations: 5.469 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.002701, allocations: 0 / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.002718, allocations: 4 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.477e-05/0.002793, allocations: 27.84 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002795, allocations: 5.188 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.002795, allocations: 0 / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002799, allocations: 0 / 0.5234 GB, free: 15.96 MB / 0.4948 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.0002891/0.003088, allocations: 356.3 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.003121, allocations: 8.031 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.003147, allocations: 4.891 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.196e-05/0.003219, allocations: 112.6 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.003232, allocations: 384 / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.00324, allocations: 8.375 kB / 0.5239 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.003342, allocations: 54.89 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.003347, allocations: 192 / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.003353, allocations: 384 / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.003356, allocations: 0.9062 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.003378, allocations: 12.42 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.00359, allocations: 229 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.003641, allocations: 44 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.003656, allocations: 11.75 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.003666, allocations: 1.469 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.003685, allocations: 37.39 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.003686, allocations: 0 / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000118/0.003804, allocations: 46.08 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.003831, allocations: 51.94 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.003899, allocations: 161.9 kB / 0.5245 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.003909, allocations: 38.36 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.003944, allocations: 126.9 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.003958, allocations: 1.844 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.003994, allocations: 19.38 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.004105, allocations: 496.1 kB / 0.5252 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.00412, allocations: 7.984 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.004129, allocations: 0.5625 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.004157, allocations: 16.5 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004159, allocations: 4 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.881e-05/0.004218, allocations: 47.08 kB / 0.5252 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.004229, allocations: 4 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004234, allocations: 0 / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004241, allocations: 4.719 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.0043, allocations: 11.94 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.004302, allocations: 2.094 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.004321, allocations: 4 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.004327, allocations: 7.984 kB / 0.5253 GB, free: 13.88 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 6.14e-05/0.004389, allocations: 152.6 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.004405, allocations: 2.75 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.004426, allocations: 11.31 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.004428, allocations: 4.125 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.00443, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.004433, allocations: 3.984 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.592e-05/0.004519, allocations: 97.25 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00452, allocations: 0 / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.004544, allocations: 4 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.004545, allocations: 1.562 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.00455, allocations: 4 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.00455, allocations: 0 / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004551, allocations: 0 / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.004655, allocations: 196.8 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.004662, allocations: 3.953 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.00467, allocations: 0.9375 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.004703, allocations: 7.984 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.004736, allocations: 8.797 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.00474, allocations: 3.938 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.004776, allocations: 128.4 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004776, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001398/0.004916, allocations: 4 kB / 0.5259 GB, free: 13.21 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 7.545e-05/0.004991, allocations: 96.69 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.07e-05/0.005052, allocations: 15.67 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005053, allocations: 6.781 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.005076, allocations: 15.62 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.005242, allocations: 7.938 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.005447, allocations: 118.3 kB / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.005475, allocations: 58.42 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.005495, allocations: 4 kB / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.005545, allocations: 74.2 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.005546, allocations: 0 / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.002066/0.007612, allocations: 0.7146 MB / 0.527 GB, free: 12.07 MB / 0.4948 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=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.780514924786985]