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.0009737/0.0009737, allocations: 93.06 kB / 19.65 MB, free: 280 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.001111/0.001111, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8469/0.8469, allocations: 154.9 MB / 414.8 MB, free: 408 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 179] 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 3.366e-06/3.366e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.236e-05, allocations: 8.438 kB / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001431/0.001463, allocations: 0.6041 MB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.002351, allocations: 0.873 MB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.002391, allocations: 1.062 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.002435, allocations: 4 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.002519, allocations: 3.938 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.002713, allocations: 16.55 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.002826, allocations: 25.3 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.002967, allocations: 8 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.003075, allocations: 15.97 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.003142, allocations: 11.98 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.003175, allocations: 4.562 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.003187, allocations: 4.562 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.003213, allocations: 3.938 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.003244, allocations: 5.344 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003368, allocations: 19.95 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.003372, allocations: 0 / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003373, allocations: 4 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.003382, allocations: 0.7812 kB / 0.5222 GB, free: 248 kB / 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.0004804/0.003862, allocations: 353.9 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.003902, allocations: 12.03 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.003944, allocations: 4.891 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.00403, allocations: 121.3 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.004052, allocations: 384 / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.004062, allocations: 384 / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.004202, allocations: 55.58 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004209, allocations: 1.031 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.00422, allocations: 384 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004227, allocations: 1.312 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.004262, allocations: 15.92 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.004567, allocations: 250.5 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.00463, allocations: 39 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.004654, allocations: 15.75 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.004666, allocations: 0 / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004688, allocations: 33.39 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004689, allocations: 0 / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.004848, allocations: 58.92 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.004878, allocations: 51.41 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.00495, allocations: 161.9 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.004959, allocations: 26.27 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.005005, allocations: 130.9 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.005021, allocations: 1.031 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.005051, allocations: 23.38 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005159, allocations: 497.3 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.005179, allocations: 4 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.00519, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.005226, allocations: 21.22 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005227, allocations: 0 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.259e-05/0.0053, allocations: 47.3 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.005314, allocations: 4 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.005321, allocations: 7.938 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005333, allocations: 0 / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.005412, allocations: 4 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005417, allocations: 1.188 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.005437, allocations: 7.984 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005442, allocations: 0 / 0.5241 GB, free: 14.14 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 7.322e-05/0.005515, allocations: 157.3 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.005529, allocations: 5.188 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.005551, allocations: 7.438 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.005555, allocations: 7.984 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005559, allocations: 0.9062 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005561, allocations: 0 / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.005653, allocations: 116.6 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005655, allocations: 2.75 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.005682, allocations: 11.98 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005685, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005691, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.005693, allocations: 7.875 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005694, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.005807, allocations: 194.6 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.005815, allocations: 3.953 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.005826, allocations: 4 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.005859, allocations: 3.938 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.005906, allocations: 11.98 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.00591, allocations: 0 / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.005946, allocations: 123.2 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005946, allocations: 1.312 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001346/0.00608, allocations: 4 kB / 0.5247 GB, free: 13.43 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 8.218e-05/0.006162, allocations: 95.89 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.006251, allocations: 27.06 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006252, allocations: 0 / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.006276, allocations: 19.67 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.006456, allocations: 4 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.006717, allocations: 118.2 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.006751, allocations: 51.36 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.006773, allocations: 10.45 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.006805, allocations: 16.5 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.006806, allocations: 0 / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.00239/0.009197, allocations: 0.675 MB / 0.5257 GB, free: 12.39 MB / 0.4948 GB " [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: 3.7064623427577317]