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.0007058/0.0007058, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007089/0.0007089, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8259/0.8259, allocations: 177.1 MB / 203.5 MB, free: 5.738 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:190: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:198: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.6643/0.6643, allocations: 154.5 MB / 414.5 MB, free: 0.8125 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 1.363e-06/1.363e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.622e-05, allocations: 8.625 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.000996/0.001012, allocations: 0.6064 MB / 0.6198 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.001673, allocations: 0.8354 MB / 0.6207 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.001699, allocations: 0 / 0.6207 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.001721, allocations: 3.938 kB / 0.6207 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.001768, allocations: 11.92 kB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.001888, allocations: 19.86 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.001945, allocations: 27.92 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.002024, allocations: 4 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.002085, allocations: 15.98 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.002122, allocations: 11.97 kB / 0.6207 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.002142, allocations: 0 / 0.6207 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-06/0.002148, allocations: 4 kB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.002163, allocations: 7.938 kB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.002179, allocations: 7.984 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.619e-05/0.002245, allocations: 27.95 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.002247, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002247, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.00225, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 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.0003092/0.002559, allocations: 258.4 kB / 0.621 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.00259, allocations: 9.469 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.002614, allocations: 8.891 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.002698, allocations: 109.7 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.002715, allocations: 4.375 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.002723, allocations: 8.312 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.00283, allocations: 58.17 kB / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.002836, allocations: 192 / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.002844, allocations: 4.312 kB / 0.6212 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.002848, allocations: 384 / 0.6212 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.002935, allocations: 43.88 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.003167, allocations: 192.6 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.00324, allocations: 42.5 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.003283, allocations: 28.89 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.003297, allocations: 4 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.003343, allocations: 30.56 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003344, allocations: 0 / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002087/0.003553, allocations: 89.53 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.003577, allocations: 51.41 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.13e-05/0.003629, allocations: 110 kB / 0.6218 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.003637, allocations: 25.7 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.003665, allocations: 80.14 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.003678, allocations: 0 / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.003701, allocations: 21.66 kB / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.003766, allocations: 314.8 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.003805, allocations: 19.98 kB / 0.6222 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.003838, allocations: 11.98 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.003915, allocations: 48.88 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.003917, allocations: 0 / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.305e-05/0.00401, allocations: 69.61 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.004019, allocations: 8 kB / 0.6224 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.004024, allocations: 3.938 kB / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004033, allocations: 0 / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.004089, allocations: 11.98 kB / 0.6224 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.004092, allocations: 7.969 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.004113, allocations: 7.984 kB / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.004117, allocations: 0 / 0.6224 GB, free: 9.82 MB / 0.5886 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 4.417e-05/0.004161, allocations: 110.8 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.004172, allocations: 4 kB / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.004186, allocations: 7.25 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004188, allocations: 0 / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.00419, allocations: 0 / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004192, allocations: 0 / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.004265, allocations: 109.3 kB / 0.6226 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.004267, allocations: 11.94 kB / 0.6226 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.00429, allocations: 7.984 kB / 0.6226 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.00429, allocations: 0 / 0.6226 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.004296, allocations: 3.938 kB / 0.6226 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.004297, allocations: 3.938 kB / 0.6227 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004298, allocations: 4 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.004412, allocations: 163.5 kB / 0.6228 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.004418, allocations: 11.98 kB / 0.6228 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.004428, allocations: 7.984 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.004463, allocations: 7.938 kB / 0.6228 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.004498, allocations: 7.984 kB / 0.6228 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.004499, allocations: 0 / 0.6228 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.385e-05/0.004523, allocations: 79.28 kB / 0.6229 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004523, allocations: 0 / 0.6229 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001309/0.004654, allocations: 4 kB / 0.6229 GB, free: 9.227 MB / 0.5886 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 5.666e-05/0.004711, allocations: 99.23 kB / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.004821, allocations: 39.97 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.004822, allocations: 0 / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.004862, allocations: 27.97 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.005023, allocations: 3.938 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.005214, allocations: 130.6 kB / 0.6232 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.005253, allocations: 63.47 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.005276, allocations: 12.5 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.005276, allocations: 0 / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of Templates: time 0.001155/0.00643, allocations: 0.6177 MB / 0.6239 GB, free: 8.188 MB / 0.5886 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.727284102700651] Failed to read output from testmodel.py, exit status != 0: 0.010243331082165241 0.017260539000000002 0.013619915000000002 Calling exit ...