Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.0009423/0.0009423, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009621/0.0009621, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8885/0.8885, allocations: 177.1 MB / 203.7 MB, free: 5.504 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-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 0.7394/0.7394, allocations: 154.6 MB / 414.8 MB, free: 0.543 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.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.5207 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.193e-05, allocations: 2.312 kB / 0.5207 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001318/0.00133, allocations: 0.6588 MB / 0.5214 GB, free: 180 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.005172, allocations: 0.8727 MB / 0.5222 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.00521, allocations: 0.9375 kB / 0.5222 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.005234, allocations: 0.7656 kB / 0.5222 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.005306, allocations: 10.48 kB / 0.5222 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.005422, allocations: 23.86 kB / 0.5223 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.005491, allocations: 49.31 kB / 0.5223 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.005573, allocations: 11.98 kB / 0.5223 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.005646, allocations: 28.77 kB / 0.5224 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.00569, allocations: 15.97 kB / 0.5224 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.005707, allocations: 4 kB / 0.5224 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.005718, allocations: 4.5 kB / 0.5224 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.005737, allocations: 17.92 kB / 0.5224 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.005758, allocations: 8 kB / 0.5224 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.68e-05/0.005835, allocations: 35.88 kB / 0.5224 GB, free: 15.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005836, allocations: 0 / 0.5224 GB, free: 15.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005837, allocations: 4 kB / 0.5224 GB, free: 15.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.00584, allocations: 0.5625 kB / 0.5224 GB, free: 15.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004527/0.006292, allocations: 373 kB / 0.5228 GB, free: 14.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.006328, allocations: 12.03 kB / 0.5228 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.006355, allocations: 5.656 kB / 0.5228 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.006431, allocations: 120.5 kB / 0.5229 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.006446, allocations: 0.9375 kB / 0.5229 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.006455, allocations: 9.812 kB / 0.5229 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.006565, allocations: 62.92 kB / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.006571, allocations: 192 / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.006578, allocations: 5.156 kB / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.006583, allocations: 384 / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.006618, allocations: 16.8 kB / 0.523 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.006856, allocations: 252.3 kB / 0.5233 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.006929, allocations: 54.17 kB / 0.5233 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.006951, allocations: 11.69 kB / 0.5233 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.006964, allocations: 0 / 0.5233 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.006982, allocations: 33.39 kB / 0.5234 GB, free: 14.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.006983, allocations: 4 kB / 0.5234 GB, free: 14.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001337/0.007117, allocations: 65.55 kB / 0.5234 GB, free: 13.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.007138, allocations: 51.94 kB / 0.5235 GB, free: 13.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.007202, allocations: 169.8 kB / 0.5236 GB, free: 13.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.007211, allocations: 26.89 kB / 0.5237 GB, free: 13.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.00732, allocations: 134.9 kB / 0.5238 GB, free: 13.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.007335, allocations: 11.84 kB / 0.5238 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003049/0.01038, allocations: 24.33 kB / 0.5238 GB, free: 13.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01049, allocations: 496.1 kB / 0.5243 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.0105, allocations: 8.953 kB / 0.5243 GB, free: 13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.01052, allocations: 4 kB / 0.5243 GB, free: 13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.01056, allocations: 24.61 kB / 0.5243 GB, free: 12.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01056, allocations: 0 / 0.5243 GB, free: 12.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.718e-05/0.01064, allocations: 57.58 kB / 0.5244 GB, free: 12.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.01065, allocations: 4.719 kB / 0.5244 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.01065, allocations: 7.938 kB / 0.5244 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.01066, allocations: 0.9375 kB / 0.5244 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.01073, allocations: 12.23 kB / 0.5244 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.01073, allocations: 5.203 kB / 0.5244 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.01076, allocations: 4 kB / 0.5244 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01077, allocations: 4 kB / 0.5244 GB, free: 12.87 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.68e-05/0.01082, allocations: 153.2 kB / 0.5246 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.01085, allocations: 10.14 kB / 0.5246 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.01087, allocations: 11.92 kB / 0.5246 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01087, allocations: 0 / 0.5246 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01087, allocations: 3.984 kB / 0.5246 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.01087, allocations: 0 / 0.5246 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.01099, allocations: 110.6 kB / 0.5247 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01099, allocations: 0 / 0.5247 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.01102, allocations: 11.94 kB / 0.5247 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.01102, allocations: 0.5938 kB / 0.5247 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.01103, allocations: 3.984 kB / 0.5247 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01103, allocations: 5.812 kB / 0.5247 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01103, allocations: 3.938 kB / 0.5247 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.01114, allocations: 195.9 kB / 0.5249 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.01114, allocations: 0 / 0.5249 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.01115, allocations: 13.67 kB / 0.5249 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.0112, allocations: 0 / 0.5249 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01124, allocations: 15.92 kB / 0.5249 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.01124, allocations: 0 / 0.5249 GB, free: 12.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.01128, allocations: 127.2 kB / 0.5251 GB, free: 12.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01128, allocations: 2.75 kB / 0.5251 GB, free: 12.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.01148, allocations: 12 kB / 0.5251 GB, free: 12.15 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.236e-05/0.01154, allocations: 95.19 kB / 0.5252 GB, free: 12.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.01162, allocations: 31.66 kB / 0.5252 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01162, allocations: 0 / 0.5252 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.01165, allocations: 21.58 kB / 0.5252 GB, free: 11.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.01186, allocations: 10.08 kB / 0.5252 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.01207, allocations: 138.2 kB / 0.5254 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.0121, allocations: 57.77 kB / 0.5254 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.01213, allocations: 4.25 kB / 0.5254 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.01219, allocations: 75.06 kB / 0.5255 GB, free: 11.67 MB / 458.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01219, allocations: 0 / 0.5255 GB, free: 11.67 MB / 458.7 MB Notification: Performance of Templates: time 0.005425/0.01761, allocations: 1.027 MB / 0.5265 GB, free: 10.7 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2534766951575875]