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.001566/0.001566, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003251/0.003251, allocations: 212.4 kB / 22.24 MB, free: 4.859 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.7/1.7, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.306/1.306, allocations: 203.5 MB / 0.5038 GB, free: 4.941 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 71.88 kB / 0.7183 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7576, allocations: 102 MB / 0.8178 GB, free: 29.15 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002348/0.7599, allocations: 0.6129 MB / 0.8184 GB, free: 28.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.7611, allocations: 0.8408 MB / 0.8192 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.7612, allocations: 1.031 kB / 0.8192 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.7612, allocations: 3.719 kB / 0.8193 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-05/0.7613, allocations: 5.5 kB / 0.8193 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.7615, allocations: 18.36 kB / 0.8193 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7616, allocations: 31.09 kB / 0.8193 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.7617, allocations: 4.031 kB / 0.8193 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.7618, allocations: 10.19 kB / 0.8193 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.7619, allocations: 15.33 kB / 0.8193 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.7619, allocations: 3.594 kB / 0.8193 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.7619, allocations: 2.406 kB / 0.8193 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.7619, allocations: 6.297 kB / 0.8193 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.762, allocations: 11.5 kB / 0.8194 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.7621, allocations: 27 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7621, allocations: 1.688 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.366e-06/0.7621, allocations: 0.75 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7621, allocations: 1.406 kB / 0.8194 GB, free: 28.11 MB / 0.6387 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.000462/0.7625, allocations: 260.7 kB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7626, allocations: 9.562 kB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.7626, allocations: 6.422 kB / 0.8196 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.7627, allocations: 107 kB / 0.8198 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.7628, allocations: 2.656 kB / 0.8198 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.7628, allocations: 5.859 kB / 0.8198 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.763, allocations: 52.08 kB / 0.8198 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.763, allocations: 1.125 kB / 0.8198 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.763, allocations: 4.75 kB / 0.8198 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7631, allocations: 5.078 kB / 0.8198 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.7633, allocations: 39.97 kB / 0.8199 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.7637, allocations: 197.6 kB / 0.82 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.7638, allocations: 38.62 kB / 0.8201 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.7639, allocations: 26.8 kB / 0.8201 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.764, allocations: 4.938 kB / 0.8201 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.764, allocations: 31.25 kB / 0.8201 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.764, allocations: 0.9375 kB / 0.8201 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0004672/0.7645, allocations: 93.2 kB / 0.8202 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.7645, allocations: 53.28 kB / 0.8203 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.7646, allocations: 101.4 kB / 0.8204 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.7646, allocations: 26.55 kB / 0.8204 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.7646, allocations: 86.47 kB / 0.8205 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.7646, allocations: 5.562 kB / 0.8205 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.7647, allocations: 17.45 kB / 0.8205 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.7647, allocations: 313.1 kB / 0.8208 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.7648, allocations: 18.69 kB / 0.8208 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.7649, allocations: 15.66 kB / 0.8208 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.7651, allocations: 49.89 kB / 0.8209 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7651, allocations: 1.125 kB / 0.8209 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002116/0.7653, allocations: 73 kB / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7653, allocations: 5.188 kB / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7653, allocations: 0 / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7654, allocations: 4.938 kB / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7655, allocations: 13.27 kB / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7655, allocations: 0.9844 kB / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.7655, allocations: 6.25 kB / 0.821 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.7655, allocations: 1.188 kB / 0.821 GB, free: 26.65 MB / 0.6387 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 6.168e-05/0.7656, allocations: 114.4 kB / 0.8211 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.7656, allocations: 5.312 kB / 0.8211 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.7656, allocations: 12.3 kB / 0.8211 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7656, allocations: 1.094 kB / 0.8211 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7657, allocations: 2.938 kB / 0.8211 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.7657, allocations: 0 / 0.8211 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.7658, allocations: 110.2 kB / 0.8212 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7658, allocations: 0 / 0.8212 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.7658, allocations: 14.61 kB / 0.8212 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7658, allocations: 3.938 kB / 0.8212 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.7658, allocations: 1.281 kB / 0.8212 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7658, allocations: 3.469 kB / 0.8212 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7659, allocations: 1.031 kB / 0.8212 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.7661, allocations: 162.3 kB / 0.8214 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.7661, allocations: 9.469 kB / 0.8214 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.7661, allocations: 0.7812 kB / 0.8214 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.7662, allocations: 6.594 kB / 0.8214 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.7663, allocations: 8.297 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.7663, allocations: 6.359 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.7663, allocations: 80.47 kB / 0.8215 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7663, allocations: 0 / 0.8215 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002143/0.7665, allocations: 7.594 kB / 0.8215 GB, free: 26.15 MB / 0.6387 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.575e-05/0.7666, allocations: 98.8 kB / 0.8216 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.7668, allocations: 42.22 kB / 0.8217 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7668, allocations: 0.875 kB / 0.8217 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.7669, allocations: 25.23 kB / 0.8217 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.7672, allocations: 2.906 kB / 0.8217 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.7676, allocations: 107.8 kB / 0.8218 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.7676, allocations: 59.52 kB / 0.8218 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.201e-05/0.7677, allocations: 6.906 kB / 0.8218 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.7677, allocations: 14.56 kB / 0.8219 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of SimCode: time 4e-07/0.7677, allocations: 4 kB / 0.8219 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.003564/0.7713, allocations: 0.6382 MB / 0.8225 GB, free: 25.76 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.2369407918304205] Failed to read output from testmodel.py, exit status != 0: 0.7804559301584959 0.793403422 0.028531244 Calling exit ...