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.0008405/0.0008405, allocations: 72.45 kB / 19.91 MB, free: 12 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.0008736/0.0008736, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8796/0.8796, allocations: 177.2 MB / 203.6 MB, free: 5.746 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-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.6937/0.6937, allocations: 155 MB / 415 MB, free: 496 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: 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.0009468/0.0009468, allocations: 67.91 kB / 0.6199 GB, free: 12.78 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4073, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001281/0.4085, allocations: 0.6079 MB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.4093, allocations: 0.8429 MB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.4093, allocations: 0.9688 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.4094, allocations: 4.594 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.4094, allocations: 9.25 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.4096, allocations: 16.81 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.4096, allocations: 34.42 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.4097, allocations: 4.203 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.4098, allocations: 11.56 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.4098, allocations: 15.78 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.4099, allocations: 2.312 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.4099, allocations: 1.219 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.4099, allocations: 6.562 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.4099, allocations: 11.55 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.895e-05/0.41, allocations: 32.7 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.41, allocations: 0 / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.41, allocations: 0 / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.41, allocations: 0 / 0.721 GB, free: 22.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003492/0.4103, allocations: 261.5 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4104, allocations: 15.53 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.4104, allocations: 2.156 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.817e-05/0.4105, allocations: 109.9 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.4105, allocations: 9.375 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.4105, allocations: 2.234 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.4107, allocations: 59.78 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4107, allocations: 192 / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4107, allocations: 4.906 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4107, allocations: 0 / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.4108, allocations: 34.95 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.411, allocations: 193.7 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.4111, allocations: 45.88 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.4112, allocations: 28.36 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4112, allocations: 5 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.4112, allocations: 36.27 kB / 0.7218 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.4112, allocations: 0 / 0.7218 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.4114, allocations: 83.09 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.4115, allocations: 52.53 kB / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.4115, allocations: 110.4 kB / 0.722 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.4115, allocations: 26.36 kB / 0.722 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.4115, allocations: 81.89 kB / 0.7221 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.4116, allocations: 9.578 kB / 0.7221 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.4116, allocations: 13.08 kB / 0.7221 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.714e-05/0.4116, allocations: 313.2 kB / 0.7224 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.4117, allocations: 18.8 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.4117, allocations: 15.78 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.4118, allocations: 47.61 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4118, allocations: 0 / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.4119, allocations: 70.34 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4119, allocations: 5.375 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4119, allocations: 0 / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4119, allocations: 0 / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.412, allocations: 13.95 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.412, allocations: 5.062 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.412, allocations: 10.78 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.412, allocations: 0.8438 kB / 0.7226 GB, free: 20.9 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 (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 4.07e-05/0.4121, allocations: 113.6 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.4121, allocations: 5.828 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.4121, allocations: 9.578 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4121, allocations: 3.938 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4121, allocations: 1.219 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4121, allocations: 0 / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.14e-05/0.4122, allocations: 120.6 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4122, allocations: 0 / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.4122, allocations: 9.938 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4122, allocations: 4.734 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.4122, allocations: 1.188 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.4122, allocations: 0 / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4122, allocations: 0.7031 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.4124, allocations: 166.7 kB / 0.723 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.4124, allocations: 15.23 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.4124, allocations: 0 / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/0.4124, allocations: 6.656 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4125, allocations: 8.281 kB / 0.7231 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4125, allocations: 2.141 kB / 0.7231 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.628e-05/0.4125, allocations: 79.56 kB / 0.7231 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4125, allocations: 0 / 0.7231 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001407/0.4126, allocations: 8.375 kB / 0.7232 GB, free: 20.39 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 (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 6.444e-05/0.4127, allocations: 97.23 kB / 0.7232 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4128, allocations: 42.5 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.4128, allocations: 0 / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.4129, allocations: 25.23 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.4131, allocations: 5.234 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.4133, allocations: 135.5 kB / 0.7234 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.4134, allocations: 63.22 kB / 0.7235 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.4134, allocations: 15.64 kB / 0.7235 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4134, allocations: 0 / 0.7235 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of Templates: time 0.001502/0.4149, allocations: 0.6158 MB / 0.7241 GB, free: 20.03 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3155823710840195] Failed to read output from testmodel.py, exit status != 0: 0.4202674739062786 0.429061433 0.017213981 Calling exit ...