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.001086/0.001086, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009678/0.0009678, allocations: 173 kB / 23.49 MB, free: 1.059 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.9848/0.9848, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.7866/0.7866, allocations: 154.8 MB / 415.1 MB, free: 480 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.106e-06/3.106e-06, allocations: 0 / 0.5205 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.904e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001294/0.001323, allocations: 0.6194 MB / 0.5211 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.002238, allocations: 0.8718 MB / 0.522 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.002277, allocations: 4 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.002306, allocations: 4.844 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.002377, allocations: 3.984 kB / 0.522 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.002552, allocations: 9.656 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.002629, allocations: 27.86 kB / 0.522 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.002733, allocations: 7.984 kB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.002822, allocations: 15.98 kB / 0.5221 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.00287, allocations: 11.92 kB / 0.5221 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.002897, allocations: 4.719 kB / 0.5221 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.002906, allocations: 5.156 kB / 0.5221 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.002923, allocations: 4 kB / 0.5221 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.002947, allocations: 7.984 kB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.621e-05/0.003033, allocations: 15.97 kB / 0.5221 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003036, allocations: 5.344 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003037, allocations: 0 / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003042, allocations: 3.938 kB / 0.5221 GB, free: 0.6758 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.0003862/0.003428, allocations: 357.4 kB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.003467, allocations: 8.031 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.003512, allocations: 10.31 kB / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.00361, allocations: 108.6 kB / 0.5226 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.003634, allocations: 4.375 kB / 0.5226 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.003647, allocations: 4.375 kB / 0.5226 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.003795, allocations: 61.34 kB / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003803, allocations: 192 / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.003813, allocations: 384 / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.003823, allocations: 384 / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.003857, allocations: 7.938 kB / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.00421, allocations: 247.8 kB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.004278, allocations: 40.94 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.004306, allocations: 15.75 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.004322, allocations: 0 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.004344, allocations: 37.38 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.004345, allocations: 0.9688 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.004509, allocations: 50.56 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.004542, allocations: 51.41 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.004625, allocations: 157.9 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.004637, allocations: 30.64 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.004683, allocations: 130.9 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.004701, allocations: 4.891 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.00473, allocations: 27.3 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.00485, allocations: 496.1 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.004866, allocations: 4.719 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.004877, allocations: 0.5312 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.004911, allocations: 16.91 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004913, allocations: 0 / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.36e-05/0.004977, allocations: 42.31 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.004988, allocations: 4 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.004994, allocations: 9.75 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.005009, allocations: 192 / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.005116, allocations: 11.92 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.005122, allocations: 0 / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.005142, allocations: 9.625 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.005148, allocations: 3.984 kB / 0.524 GB, free: 14.57 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.064e-05/0.005219, allocations: 156.6 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.005233, allocations: 4 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.005258, allocations: 12.8 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00526, allocations: 0 / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.005263, allocations: 0 / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.005266, allocations: 0 / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.67e-05/0.005363, allocations: 115 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.005365, allocations: 4 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.005389, allocations: 11.98 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00539, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.005397, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.005401, allocations: 3.938 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005402, allocations: 0 / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.005516, allocations: 194.6 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.005522, allocations: 3.953 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.005532, allocations: 4 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.005564, allocations: 7.922 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.005615, allocations: 8 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.005618, allocations: 0 / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.005657, allocations: 128.4 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005657, allocations: 0 / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001382/0.005795, allocations: 4 kB / 0.5246 GB, free: 13.86 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 7.885e-05/0.005874, allocations: 92.22 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.00598, allocations: 21.56 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.005982, allocations: 0 / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.006006, allocations: 23.61 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.006199, allocations: 6.844 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.006472, allocations: 118.9 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.006511, allocations: 56 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.006533, allocations: 5.094 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.006567, allocations: 14.97 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.006567, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.002267/0.008834, allocations: 0.6414 MB / 0.5256 GB, free: 12.86 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.8880259378347546]