Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007826/0.0007826, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008501/0.0008501, allocations: 207.8 kB / 23.01 MB, free: 3.121 MB / 13.93 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.9091/0.9091, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.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-531:190: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-531:198: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.7426/0.7426, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [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.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [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.0009545/0.0009545, allocations: 67.91 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4632, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001369/0.4646, allocations: 0.6598 MB / 0.8197 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.4653, allocations: 0.8636 MB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.4653, allocations: 5 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.4653, allocations: 0.7969 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.4654, allocations: 5.688 kB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.4655, allocations: 29.66 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.119e-05/0.4656, allocations: 44.34 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.4657, allocations: 13.69 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.4658, allocations: 19.06 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.4658, allocations: 28.31 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4659, allocations: 3.594 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.4659, allocations: 4.125 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.4659, allocations: 12.2 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.4659, allocations: 17.48 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.466, allocations: 45.69 kB / 0.8208 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.466, allocations: 0.9844 kB / 0.8208 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.466, allocations: 1.594 kB / 0.8208 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.466, allocations: 0 / 0.8208 GB, free: 24.07 MB / 0.6355 GB 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.000344/0.4664, allocations: 280 kB / 0.821 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4664, allocations: 18.56 kB / 0.8211 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.4665, allocations: 4.812 kB / 0.8211 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.4665, allocations: 119 kB / 0.8212 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4665, allocations: 3.406 kB / 0.8212 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4666, allocations: 6.344 kB / 0.8212 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.4667, allocations: 65.5 kB / 0.8212 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.4667, allocations: 1.344 kB / 0.8212 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4667, allocations: 4.531 kB / 0.8213 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4667, allocations: 0.9062 kB / 0.8213 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4668, allocations: 49.36 kB / 0.8213 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.4672, allocations: 262 kB / 0.8215 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.4674, allocations: 61.77 kB / 0.8216 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.4674, allocations: 28.84 kB / 0.8216 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4675, allocations: 1.125 kB / 0.8216 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.4675, allocations: 33.48 kB / 0.8217 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4675, allocations: 0 / 0.8217 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002634/0.4677, allocations: 115 kB / 0.8218 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.4678, allocations: 52.72 kB / 0.8218 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.4678, allocations: 108.7 kB / 0.8219 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.4678, allocations: 26.33 kB / 0.822 GB, free: 23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.4678, allocations: 87.39 kB / 0.822 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.4679, allocations: 14.03 kB / 0.8221 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.4679, allocations: 20.17 kB / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.935e-05/0.4679, allocations: 313.8 kB / 0.8224 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.468, allocations: 28.83 kB / 0.8224 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.468, allocations: 23.16 kB / 0.8224 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.4681, allocations: 58.73 kB / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4681, allocations: 0 / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/0.4683, allocations: 95.39 kB / 0.8226 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4683, allocations: 5.156 kB / 0.8226 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4683, allocations: 2.547 kB / 0.8226 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4683, allocations: 0 / 0.8226 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.4684, allocations: 16.42 kB / 0.8226 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4684, allocations: 5.094 kB / 0.8226 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.4684, allocations: 5.734 kB / 0.8226 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.4684, allocations: 3.969 kB / 0.8226 GB, free: 22.48 MB / 0.6355 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 (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 4.214e-05/0.4685, allocations: 118.8 kB / 0.8227 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.4685, allocations: 1.641 kB / 0.8227 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.4685, allocations: 6.078 kB / 0.8227 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4685, allocations: 4.719 kB / 0.8227 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4685, allocations: 0.75 kB / 0.8227 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4685, allocations: 1.656 kB / 0.8227 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.4686, allocations: 152.5 kB / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4686, allocations: 0 / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.4686, allocations: 17.03 kB / 0.8229 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4686, allocations: 0.8125 kB / 0.8229 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.4687, allocations: 1.375 kB / 0.8229 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4687, allocations: 1.094 kB / 0.8229 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4687, allocations: 0.8438 kB / 0.8229 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.4688, allocations: 187.3 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.4688, allocations: 3.344 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.4688, allocations: 0 / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.4689, allocations: 7.734 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.4689, allocations: 10.16 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4689, allocations: 2.297 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.4689, allocations: 90.19 kB / 0.8232 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4689, allocations: 0 / 0.8232 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001391/0.4691, allocations: 6.406 kB / 0.8232 GB, free: 21.93 MB / 0.6355 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 (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 5.593e-05/0.4691, allocations: 98.78 kB / 0.8233 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.4693, allocations: 55.45 kB / 0.8233 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.4693, allocations: 0 / 0.8233 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-05/0.4693, allocations: 32.78 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.4695, allocations: 7.125 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.4698, allocations: 158.2 kB / 0.8235 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.4699, allocations: 0.6851 MB / 0.8242 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4699, allocations: 12.8 kB / 0.8242 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.4699, allocations: 0 / 0.8242 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.001839/0.4717, allocations: 0.8071 MB / 0.825 GB, free: 20.9 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.538241395959631] Failed to read output from testmodel.py, exit status != 0: 0.47743840306065977 0.484999525 0.017328697 Calling exit ...