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.001563/0.001563, allocations: 82.56 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001609/0.001609, allocations: 171 kB / 22.46 MB, free: 5.355 MB / 14.72 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.479/1.479, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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 178] 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.314e-06/2.314e-06, allocations: 0 / 0.6187 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.903e-05/4.135e-05, allocations: 6.859 kB / 0.6187 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001761/0.001802, allocations: 0.6055 MB / 0.6193 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003024, allocations: 0.8431 MB / 0.6201 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.003048, allocations: 4 kB / 0.6201 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.003079, allocations: 3.984 kB / 0.6201 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.003148, allocations: 3.938 kB / 0.6201 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.003313, allocations: 19.92 kB / 0.6202 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.003384, allocations: 31.92 kB / 0.6202 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.003475, allocations: 3.984 kB / 0.6202 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.003559, allocations: 12 kB / 0.6202 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.003611, allocations: 11.98 kB / 0.6202 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.003629, allocations: 0 / 0.6202 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.003639, allocations: 7.938 kB / 0.6202 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.003658, allocations: 11.98 kB / 0.6202 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.003682, allocations: 7.984 kB / 0.6202 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.00378, allocations: 19.97 kB / 0.6203 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003782, allocations: 0 / 0.6203 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003782, allocations: 0 / 0.6203 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.003787, allocations: 0 / 0.6203 GB, free: 2.992 MB / 0.5294 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.0004613/0.004248, allocations: 266.3 kB / 0.6205 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.004285, allocations: 8.031 kB / 0.6205 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.004315, allocations: 4.891 kB / 0.6205 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.004426, allocations: 109.7 kB / 0.6206 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.004448, allocations: 4.375 kB / 0.6206 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.004463, allocations: 8.312 kB / 0.6207 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.004667, allocations: 54.17 kB / 0.6207 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.004676, allocations: 192 / 0.6207 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.004689, allocations: 4.375 kB / 0.6207 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004693, allocations: 384 / 0.6207 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.004867, allocations: 39.89 kB / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.005244, allocations: 200.6 kB / 0.6209 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.005409, allocations: 50.48 kB / 0.621 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.005507, allocations: 20.91 kB / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.005526, allocations: 0 / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.005558, allocations: 34.56 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005559, allocations: 0 / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003923/0.005951, allocations: 93.66 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.005997, allocations: 55.34 kB / 0.6212 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.006089, allocations: 101.8 kB / 0.6213 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.006113, allocations: 25.7 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.006166, allocations: 88.09 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.006186, allocations: 3.938 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.006223, allocations: 21.7 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.006371, allocations: 310.8 kB / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.006471, allocations: 19.98 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.006548, allocations: 20 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.006703, allocations: 36.83 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006705, allocations: 0 / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.006909, allocations: 77.55 kB / 0.6219 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006921, allocations: 4 kB / 0.6219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.006928, allocations: 7.938 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.006942, allocations: 4.094 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.00704, allocations: 7.984 kB / 0.6219 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007045, allocations: 0 / 0.6219 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.007102, allocations: 7.984 kB / 0.6219 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.00711, allocations: 4 kB / 0.6219 GB, free: 1.156 MB / 0.5294 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 8.912e-05/0.007199, allocations: 110.8 kB / 0.622 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.007222, allocations: 4 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.007247, allocations: 11.25 kB / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.007248, allocations: 0 / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.007252, allocations: 7.938 kB / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.007254, allocations: 0 / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.007384, allocations: 105.3 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007385, allocations: 0 / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.007455, allocations: 11.98 kB / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.007456, allocations: 0 / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007462, allocations: 0 / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.007474, allocations: 7.875 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007475, allocations: 0 / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.007743, allocations: 171.5 kB / 0.6223 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.007752, allocations: 3.984 kB / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.007764, allocations: 0 / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.007847, allocations: 7.938 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.007901, allocations: 7.984 kB / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.007904, allocations: 0 / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.007957, allocations: 83.28 kB / 0.6224 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.007957, allocations: 0 / 0.6224 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002147/0.008172, allocations: 11.94 kB / 0.6224 GB, free: 0.5664 MB / 0.5294 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 0.0001037/0.008276, allocations: 95.28 kB / 0.6225 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.00849, allocations: 43.95 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008492, allocations: 0 / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.008586, allocations: 19.92 kB / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.008878, allocations: 14.19 kB / 0.6226 GB, free: 396 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.009211, allocations: 104.9 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.089e-05/0.009272, allocations: 63.34 kB / 0.6227 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.009302, allocations: 4 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.009336, allocations: 12.5 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.009337, allocations: 0 / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of Templates: time 0.0031/0.01244, allocations: 0.6476 MB / 0.6234 GB, free: 15.52 MB / 0.545 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: 5.865669993683696] Failed to read output from testmodel.py, exit status != 0: 0.021272627636790276 0.0380193 0.030955692000000003 Calling exit ...