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.001135/0.001135, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001374/0.001374, allocations: 177 kB / 23.36 MB, free: 1.133 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8271/0.8271, allocations: 154.9 MB / 415.1 MB, free: 256 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 2.334e-06/2.334e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.448e-05, allocations: 4.422 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001487/0.001511, allocations: 0.6636 MB / 481 MB, free: 5.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.002375, allocations: 0.8706 MB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.002406, allocations: 0 / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.002427, allocations: 0.625 kB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.002483, allocations: 5.25 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.002605, allocations: 15.83 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.002662, allocations: 27.27 kB / 481.9 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.002722, allocations: 4.766 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.002788, allocations: 16.52 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.002825, allocations: 13.95 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.002838, allocations: 0 / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-06/0.002844, allocations: 4 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.002858, allocations: 4 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.002871, allocations: 5.891 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.706e-05/0.002938, allocations: 28.98 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.00294, allocations: 2.828 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002941, allocations: 0 / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.002944, allocations: 0 / 482 MB, free: 4.906 MB / 442.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.000229/0.003173, allocations: 228.7 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.003206, allocations: 12.03 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.92e-05/0.003226, allocations: 1.844 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.003298, allocations: 117 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.003312, allocations: 5.094 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-06/0.003317, allocations: 384 / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.214e-05/0.003409, allocations: 52.56 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.003415, allocations: 192 / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.003422, allocations: 1.344 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.003429, allocations: 12.36 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.003452, allocations: 13.09 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.003642, allocations: 152.3 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.003681, allocations: 19.77 kB / 482.6 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.003696, allocations: 8.922 kB / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.003706, allocations: 0 / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.003728, allocations: 40.41 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.003728, allocations: 0 / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.715e-05/0.003826, allocations: 38.61 kB / 482.7 MB, free: 4.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.003851, allocations: 55.34 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.003904, allocations: 108 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.003914, allocations: 29.7 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.003942, allocations: 84.14 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.003958, allocations: 3.953 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.003983, allocations: 15.92 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.004064, allocations: 318.8 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.004077, allocations: 4 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.004086, allocations: 0.8438 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.004114, allocations: 17.58 kB / 483.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.00412, allocations: 0 / 483.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.391e-05/0.004174, allocations: 38.56 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004185, allocations: 4.547 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00419, allocations: 0.9062 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.004197, allocations: 0 / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.004265, allocations: 19.31 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.004267, allocations: 0 / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.004285, allocations: 1.172 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.004288, allocations: 0 / 483.4 MB, free: 3.398 MB / 442.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 5.77e-05/0.004346, allocations: 114.5 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.004363, allocations: 4.609 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.004381, allocations: 11.11 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004383, allocations: 4.766 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.004386, allocations: 4.562 kB / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004388, allocations: 0 / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.467e-05/0.004473, allocations: 66.69 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.004474, allocations: 0 / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.0045, allocations: 8.609 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.004503, allocations: 5.719 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.004507, allocations: 1.203 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004508, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.004509, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.728e-05/0.004596, allocations: 136.9 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.004603, allocations: 4 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.00461, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.004643, allocations: 7.984 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.004677, allocations: 8.844 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.004681, allocations: 3.984 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.004693, allocations: 21.22 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004694, allocations: 1.656 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001176/0.004811, allocations: 4.766 kB / 483.8 MB, free: 2.965 MB / 442.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 6.879e-05/0.00488, allocations: 76.42 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.082e-05/0.004931, allocations: 13.44 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.004933, allocations: 6.344 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.004949, allocations: 8.859 kB / 483.9 MB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.005075, allocations: 4 kB / 483.9 MB, free: 2.844 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.005269, allocations: 114.9 kB / 484 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.005299, allocations: 56.44 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.949e-05/0.005319, allocations: 5.875 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.005363, allocations: 55.38 kB / 484.1 MB, free: 2.574 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.005363, allocations: 0 / 484.1 MB, free: 2.574 MB / 442.7 MB Notification: Performance of Templates: time 0.001928/0.007291, allocations: 0.6292 MB / 484.8 MB, free: 1.977 MB / 442.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.624252741225064]