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.002547/0.002547, allocations: 85.48 kB / 19.44 MB, free: 344 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.002807/0.002807, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.323/1.323, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 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 178] 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 2.435e-06/2.435e-06, allocations: 0 / 0.5198 GB, free: 1.227 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.161e-05, allocations: 2.312 kB / 0.5198 GB, free: 1.223 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001872/0.001904, allocations: 0.6009 MB / 0.5204 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003114, allocations: 0.8494 MB / 0.5212 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.003146, allocations: 0 / 0.5212 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.003171, allocations: 4.656 kB / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.003235, allocations: 1.203 kB / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.00338, allocations: 17.7 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.00346, allocations: 28.14 kB / 0.5213 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.003549, allocations: 9.203 kB / 0.5213 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.003633, allocations: 19.92 kB / 0.5213 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.003677, allocations: 11.92 kB / 0.5213 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003698, allocations: 4.625 kB / 0.5213 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.003706, allocations: 0 / 0.5213 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.003723, allocations: 5.812 kB / 0.5213 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.003751, allocations: 8 kB / 0.5214 GB, free: 15.69 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.003838, allocations: 27.88 kB / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.003841, allocations: 0 / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003842, allocations: 0 / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.003848, allocations: 5.719 kB / 0.5214 GB, free: 15.66 MB / 458.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.0005171/0.004365, allocations: 356.3 kB / 0.5217 GB, free: 15.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.004403, allocations: 8.031 kB / 0.5217 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.004448, allocations: 8.891 kB / 0.5217 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004572, allocations: 114 kB / 0.5218 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.004592, allocations: 384 / 0.5218 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.004601, allocations: 384 / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.004756, allocations: 54.7 kB / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004765, allocations: 192 / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.004774, allocations: 1.125 kB / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.004777, allocations: 384 / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.004903, allocations: 33.38 kB / 0.5219 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.005298, allocations: 247.8 kB / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.00543, allocations: 44.44 kB / 0.5222 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.005507, allocations: 27.73 kB / 0.5222 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.005526, allocations: 3.938 kB / 0.5222 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.005561, allocations: 36.86 kB / 0.5223 GB, free: 14.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.005562, allocations: 0 / 0.5223 GB, free: 14.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003099/0.005872, allocations: 73.61 kB / 0.5223 GB, free: 14.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.005921, allocations: 51.41 kB / 0.5224 GB, free: 14.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.006064, allocations: 165.9 kB / 0.5226 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.006085, allocations: 25.7 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.006173, allocations: 134.8 kB / 0.5227 GB, free: 14.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.006191, allocations: 4.5 kB / 0.5227 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.006238, allocations: 19.38 kB / 0.5227 GB, free: 14.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.006508, allocations: 0.4889 MB / 0.5232 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.006565, allocations: 12.44 kB / 0.5232 GB, free: 13.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.00662, allocations: 16.92 kB / 0.5232 GB, free: 13.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.006731, allocations: 33.14 kB / 0.5233 GB, free: 13.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006733, allocations: 0 / 0.5233 GB, free: 13.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000152/0.006885, allocations: 58.52 kB / 0.5233 GB, free: 13.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.006912, allocations: 7.984 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.00692, allocations: 3.938 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.006935, allocations: 8.875 kB / 0.5233 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.007021, allocations: 4 kB / 0.5233 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.007026, allocations: 1.625 kB / 0.5234 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.007063, allocations: 4 kB / 0.5234 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.007072, allocations: 11.92 kB / 0.5234 GB, free: 13.43 MB / 458.7 MB 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 0.0001147/0.007187, allocations: 155 kB / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007212, allocations: 4 kB / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.007242, allocations: 11.2 kB / 0.5235 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.007243, allocations: 0 / 0.5235 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.007247, allocations: 0 / 0.5235 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.00725, allocations: 0 / 0.5235 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.007405, allocations: 120.6 kB / 0.5236 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007406, allocations: 2.75 kB / 0.5236 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.007456, allocations: 4 kB / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007458, allocations: 0 / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.007469, allocations: 4 kB / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.007478, allocations: 11.92 kB / 0.5237 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.007482, allocations: 4 kB / 0.5237 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.007734, allocations: 197.1 kB / 0.5239 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.007744, allocations: 7.891 kB / 0.5239 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.00776, allocations: 7.984 kB / 0.5239 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.007835, allocations: 4.875 kB / 0.5239 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.007889, allocations: 11.98 kB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007893, allocations: 0.9375 kB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.007968, allocations: 131.4 kB / 0.524 GB, free: 12.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007968, allocations: 0 / 0.524 GB, free: 12.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.008168, allocations: 4.656 kB / 0.524 GB, free: 12.71 MB / 458.7 MB 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.0001229/0.008291, allocations: 92.41 kB / 0.5241 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.008471, allocations: 42.09 kB / 0.5241 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008472, allocations: 0 / 0.5241 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.008552, allocations: 27.67 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.008813, allocations: 6.344 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.009154, allocations: 125.4 kB / 0.5243 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.756e-05/0.009231, allocations: 67.2 kB / 0.5244 GB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.009264, allocations: 7.938 kB / 0.5244 GB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.009304, allocations: 12.5 kB / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009305, allocations: 0 / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of Templates: time 0.003826/0.01313, allocations: 0.6493 MB / 0.525 GB, free: 11.66 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.998506895964965]