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.001416/0.001416, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001591/0.001591, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-545:108: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-545:116: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.275/1.275, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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 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.224e-06/2.224e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.42e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00173/0.001764, allocations: 0.6102 MB / 0.5202 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002981, allocations: 0.8378 MB / 0.521 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.003013, allocations: 7.938 kB / 0.521 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.003041, allocations: 3.938 kB / 0.521 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.0031, allocations: 0.5625 kB / 0.521 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.003253, allocations: 21.89 kB / 0.521 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.003327, allocations: 23.92 kB / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.00342, allocations: 11.98 kB / 0.5211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.003495, allocations: 8 kB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.003552, allocations: 11.98 kB / 0.5211 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.003573, allocations: 5.375 kB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.003584, allocations: 4 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.0036, allocations: 7.922 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.003629, allocations: 7.984 kB / 0.5211 GB, free: 1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.003719, allocations: 29.42 kB / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003721, allocations: 0 / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003722, allocations: 0 / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.003726, allocations: 0 / 0.5211 GB, free: 0.9727 MB / 490.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.0005284/0.004254, allocations: 255.4 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.004291, allocations: 13 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.004349, allocations: 4.891 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.00448, allocations: 109.7 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.004506, allocations: 1.375 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.004517, allocations: 384 / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.004718, allocations: 62.61 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.004727, allocations: 1.219 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004739, allocations: 4.359 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.004744, allocations: 384 / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.004938, allocations: 41.03 kB / 0.5216 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.005575, allocations: 193.2 kB / 0.5218 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.005734, allocations: 48.02 kB / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.005828, allocations: 16.91 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.005847, allocations: 0 / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.005886, allocations: 40.38 kB / 0.5219 GB, free: 96 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.005887, allocations: 0 / 0.5219 GB, free: 96 kB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004073/0.006294, allocations: 91.28 kB / 0.522 GB, free: 0 / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.006371, allocations: 55.39 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.006494, allocations: 109.8 kB / 0.5221 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.006516, allocations: 25.7 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.006574, allocations: 80.89 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.006592, allocations: 0 / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.00664, allocations: 23.11 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.006816, allocations: 310.8 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.006906, allocations: 15.98 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.006991, allocations: 21 kB / 0.5226 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.007161, allocations: 41.02 kB / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007163, allocations: 0 / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002306/0.007394, allocations: 73.61 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.007412, allocations: 8 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.007423, allocations: 7.938 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.007443, allocations: 3.938 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.007548, allocations: 15.02 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007552, allocations: 0 / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.007611, allocations: 7.984 kB / 0.5227 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.007617, allocations: 0 / 0.5227 GB, free: 15.17 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 9.724e-05/0.007714, allocations: 105.8 kB / 0.5228 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.007742, allocations: 8 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.859e-05/0.007761, allocations: 7.25 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007763, allocations: 1.5 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.007767, allocations: 0 / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007772, allocations: 7.922 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.007931, allocations: 109.3 kB / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007932, allocations: 1.562 kB / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.008001, allocations: 7.984 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008003, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.00801, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.008013, allocations: 9.219 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008014, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.008319, allocations: 168 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.008333, allocations: 12.67 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.008345, allocations: 0 / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.00843, allocations: 8.438 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.008493, allocations: 10.36 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.008499, allocations: 4 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.008551, allocations: 79.27 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008551, allocations: 0 / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002081/0.008759, allocations: 4 kB / 0.5233 GB, free: 14.59 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 0.0001253/0.008884, allocations: 97.69 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.009119, allocations: 43.95 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.009121, allocations: 0 / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.009226, allocations: 21.8 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.009532, allocations: 11.98 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.009897, allocations: 112.6 kB / 0.5235 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.157e-05/0.009968, allocations: 56.39 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.01, allocations: 4.812 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.01005, allocations: 13.48 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01005, allocations: 4 kB / 0.5236 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.003409/0.01346, allocations: 0.6636 MB / 0.5243 GB, free: 13.55 MB / 0.4948 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.940234717912972]