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.001343/0.001343, allocations: 75.25 kB / 19.16 MB, free: 2.57 MB / 14.72 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.001519/0.001519, allocations: 168.7 kB / 22.43 MB, free: 5.312 MB / 14.72 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.419/1.419, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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 1.181/1.181, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 178] 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.002054/0.002054, allocations: 70.73 kB / 0.6191 GB, free: 4.199 MB / 0.5294 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.5254/0.5275, allocations: 102 MB / 0.7187 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00223/0.5297, allocations: 0.6134 MB / 0.7193 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.5309, allocations: 0.8431 MB / 0.7201 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.531, allocations: 1.375 kB / 0.7201 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.531, allocations: 3.938 kB / 0.7201 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.5311, allocations: 4.938 kB / 0.7201 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.5313, allocations: 26.72 kB / 0.7202 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.5314, allocations: 21 kB / 0.7202 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.5315, allocations: 3.016 kB / 0.7202 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.5316, allocations: 20.17 kB / 0.7202 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.5317, allocations: 11.83 kB / 0.7202 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.5317, allocations: 2.438 kB / 0.7202 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.5317, allocations: 2.406 kB / 0.7202 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.5317, allocations: 12.72 kB / 0.7202 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.5317, allocations: 4.031 kB / 0.7202 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.5319, allocations: 35.59 kB / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5319, allocations: 1.031 kB / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5319, allocations: 0 / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.5319, allocations: 0 / 0.7203 GB, free: 0.6797 MB / 0.6075 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.0004431/0.5323, allocations: 261.5 kB / 0.7205 GB, free: 424 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5324, allocations: 11.5 kB / 0.7205 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.5324, allocations: 2.062 kB / 0.7205 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.5325, allocations: 114.2 kB / 0.7206 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5325, allocations: 1.625 kB / 0.7206 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.5325, allocations: 1.375 kB / 0.7206 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5327, allocations: 56.48 kB / 0.7207 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5327, allocations: 4.828 kB / 0.7207 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5327, allocations: 3.938 kB / 0.7207 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5328, allocations: 1.125 kB / 0.7207 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.5329, allocations: 37.94 kB / 0.7207 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.5332, allocations: 197.5 kB / 0.7209 GB, free: 20 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.5334, allocations: 43.69 kB / 0.721 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.5335, allocations: 22.81 kB / 0.721 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5335, allocations: 5.219 kB / 0.721 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.5335, allocations: 36.78 kB / 0.721 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5335, allocations: 0 / 0.721 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003804/0.5339, allocations: 82.64 kB / 0.7211 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.534, allocations: 57.08 kB / 0.7212 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.5341, allocations: 109.4 kB / 0.7213 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.5341, allocations: 25.7 kB / 0.7213 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.5341, allocations: 81.89 kB / 0.7214 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.5342, allocations: 9.75 kB / 0.7214 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.5342, allocations: 13.44 kB / 0.7214 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5343, allocations: 313.7 kB / 0.7217 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.234e-05/0.5344, allocations: 18.84 kB / 0.7217 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.5345, allocations: 20.39 kB / 0.7217 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.5347, allocations: 46.25 kB / 0.7218 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5347, allocations: 0 / 0.7218 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002152/0.5349, allocations: 70.39 kB / 0.7218 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5349, allocations: 5.125 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5349, allocations: 1.344 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5349, allocations: 0 / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.535, allocations: 14.06 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5351, allocations: 0 / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.5351, allocations: 10.67 kB / 0.7219 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.5351, allocations: 5.25 kB / 0.7219 GB, free: 15.19 MB / 0.6231 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 9.129e-05/0.5352, allocations: 114 kB / 0.722 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.5352, allocations: 5.344 kB / 0.722 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.5353, allocations: 8.578 kB / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5353, allocations: 5.406 kB / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5353, allocations: 0 / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5353, allocations: 0.6562 kB / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.5354, allocations: 113.2 kB / 0.7221 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.5354, allocations: 0 / 0.7221 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.5355, allocations: 9.688 kB / 0.7221 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5355, allocations: 3.938 kB / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.5355, allocations: 2.078 kB / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5355, allocations: 0 / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5355, allocations: 5.344 kB / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.5358, allocations: 161.9 kB / 0.7223 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.5358, allocations: 10.27 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.5358, allocations: 0 / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.5359, allocations: 6.078 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.536, allocations: 13.05 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.536, allocations: 2.125 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.536, allocations: 84.41 kB / 0.7224 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.536, allocations: 3.938 kB / 0.7224 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002097/0.5362, allocations: 3.781 kB / 0.7224 GB, free: 14.68 MB / 0.6231 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 0.0001013/0.5363, allocations: 97.97 kB / 0.7225 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.5366, allocations: 41.95 kB / 0.7225 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5366, allocations: 1 kB / 0.7225 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.5367, allocations: 22.19 kB / 0.7226 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.537, allocations: 2.891 kB / 0.7226 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.5373, allocations: 115.8 kB / 0.7227 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.5373, allocations: 68.7 kB / 0.7227 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.5374, allocations: 2.047 kB / 0.7227 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.5374, allocations: 11.38 kB / 0.7228 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5374, allocations: 0 / 0.7228 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of Templates: time 0.003133/0.5405, allocations: 0.6534 MB / 0.7234 GB, free: 14.29 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.079642778262496] Failed to read output from testmodel.py, exit status != 0: 0.5502611957490444 0.564906092 0.030077585 Calling exit ...