Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007403/0.0007403, allocations: 80.53 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.0007505/0.0007505, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8124/0.8124, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6593/0.6593, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.657e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001195/0.001221, allocations: 0.6058 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.00203, allocations: 0.8471 MB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.002064, allocations: 0 / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.002089, allocations: 7.938 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.002143, allocations: 3.938 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.00228, allocations: 15.92 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.00235, allocations: 23.92 kB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.002452, allocations: 4 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.002529, allocations: 27.84 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.002574, allocations: 4 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.002606, allocations: 4 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.002614, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.002631, allocations: 15.98 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.002648, allocations: 0 / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.421e-05/0.002732, allocations: 35.88 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002736, allocations: 0 / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002737, allocations: 0 / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002741, allocations: 0 / 0.6209 GB, free: 11.59 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.0003723/0.003113, allocations: 254.4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.003153, allocations: 12.03 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.003184, allocations: 4.891 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.003263, allocations: 109.7 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.003283, allocations: 8.375 kB / 0.6212 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.003292, allocations: 384 / 0.6212 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.003417, allocations: 54.22 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.003425, allocations: 192 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.003434, allocations: 384 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.003438, allocations: 4.375 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.382e-05/0.003532, allocations: 43.83 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.003804, allocations: 192.6 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.003889, allocations: 42.59 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.003936, allocations: 24.91 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.00395, allocations: 0 / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.00397, allocations: 34.5 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.00397, allocations: 0 / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.004198, allocations: 101.6 kB / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.004228, allocations: 51.41 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.00428, allocations: 97.86 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.00429, allocations: 25.7 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.004321, allocations: 84.12 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.004335, allocations: 4 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.004359, allocations: 13.72 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.196e-05/0.004431, allocations: 314.8 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.004476, allocations: 19.97 kB / 0.6223 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.004512, allocations: 20.02 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.004593, allocations: 44.77 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004595, allocations: 7.875 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.004704, allocations: 69.61 kB / 0.6224 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.004715, allocations: 4 kB / 0.6224 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.004725, allocations: 7.922 kB / 0.6224 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.004736, allocations: 4.094 kB / 0.6224 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.004798, allocations: 8 kB / 0.6224 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.004802, allocations: 0 / 0.6224 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.004827, allocations: 7.984 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.00483, allocations: 0 / 0.6225 GB, free: 9.773 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 5.646e-05/0.004887, allocations: 114.8 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.004898, allocations: 0 / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.004916, allocations: 15.19 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004917, allocations: 192 / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.004921, allocations: 11.94 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.004924, allocations: 3.984 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.00528, allocations: 101.3 kB / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.005282, allocations: 3.984 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.00531, allocations: 4 kB / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005311, allocations: 4 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005318, allocations: 3.984 kB / 0.6227 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.00532, allocations: 3.938 kB / 0.6227 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00532, allocations: 0 / 0.6227 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.005455, allocations: 163.5 kB / 0.6229 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.005462, allocations: 11.95 kB / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.005471, allocations: 0 / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.005509, allocations: 11.92 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.005554, allocations: 8 kB / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.005557, allocations: 4 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.005581, allocations: 83.27 kB / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005581, allocations: 0 / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001705/0.005752, allocations: 7.938 kB / 0.623 GB, free: 9.172 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 8.526e-05/0.005837, allocations: 95.28 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.005994, allocations: 43.95 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005995, allocations: 0 / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.006037, allocations: 15.98 kB / 0.6231 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.006219, allocations: 14.02 kB / 0.6231 GB, free: 9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.00646, allocations: 138.7 kB / 0.6233 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.006502, allocations: 55.36 kB / 0.6233 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.006528, allocations: 16.42 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.006529, allocations: 4 kB / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of Templates: time 0.001375/0.007904, allocations: 0.6148 MB / 0.624 GB, free: 8.133 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6570283183828] Failed to read output from testmodel.py, exit status != 0: 0.012201257050037384 0.019960295000000003 0.015708101000000002 Calling exit ...