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.001795/0.001795, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002455/0.002455, allocations: 166 kB / 22.45 MB, free: 5.375 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.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.257/1.257, allocations: 154.6 MB / 413.7 MB, free: 5.293 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: Performance of FrontEnd - loaded program: time 6.402e-06/6.402e-06, allocations: 0 / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.911e-05/5.551e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00257/0.002626, allocations: 0.6077 MB / 0.6191 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004248, allocations: 0.8393 MB / 0.6199 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.004295, allocations: 3.938 kB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.004333, allocations: 3.938 kB / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.004412, allocations: 4 kB / 0.6199 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.004629, allocations: 19.86 kB / 0.6199 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.004741, allocations: 27.92 kB / 0.62 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.004892, allocations: 4 kB / 0.62 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.005002, allocations: 11.98 kB / 0.62 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.005082, allocations: 19.97 kB / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.005112, allocations: 4 kB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.005124, allocations: 0 / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.005154, allocations: 7.938 kB / 0.62 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.005184, allocations: 4 kB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.00531, allocations: 27.94 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.005316, allocations: 0 / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005316, allocations: 0 / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.005322, allocations: 0 / 0.62 GB, free: 3.078 MB / 0.5294 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.0006765/0.005998, allocations: 262.3 kB / 0.6203 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.00606, allocations: 13.47 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.006112, allocations: 8.891 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.006273, allocations: 105.7 kB / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.006308, allocations: 4.375 kB / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.006324, allocations: 4.375 kB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.006569, allocations: 54.22 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.006585, allocations: 4.125 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.006598, allocations: 384 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006605, allocations: 384 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.006825, allocations: 43.89 kB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.007327, allocations: 188.6 kB / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.007497, allocations: 46.53 kB / 0.6207 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.007604, allocations: 24.91 kB / 0.6208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.007624, allocations: 4 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.007662, allocations: 34.55 kB / 0.6208 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.007664, allocations: 0 / 0.6208 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004586/0.008122, allocations: 93.56 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.008183, allocations: 59.28 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.008302, allocations: 101.9 kB / 0.621 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.008327, allocations: 25.7 kB / 0.6211 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.00842, allocations: 88.08 kB / 0.6212 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.008444, allocations: 3.938 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.008491, allocations: 17.72 kB / 0.6212 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.008708, allocations: 310.8 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.008812, allocations: 28.09 kB / 0.6215 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.008894, allocations: 11.98 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.009093, allocations: 44.81 kB / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009096, allocations: 0 / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002332/0.009329, allocations: 73.61 kB / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.009351, allocations: 12.03 kB / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.009361, allocations: 3.938 kB / 0.6216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.009383, allocations: 0 / 0.6216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.009512, allocations: 11.98 kB / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.00952, allocations: 0 / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.009576, allocations: 4 kB / 0.6217 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.009582, allocations: 0 / 0.6217 GB, free: 1.25 MB / 0.5294 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 0.0001344/0.009717, allocations: 114.8 kB / 0.6218 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.009745, allocations: 7.984 kB / 0.6218 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.009779, allocations: 15.2 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009781, allocations: 0 / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.009788, allocations: 0 / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.009792, allocations: 0 / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.009956, allocations: 109.2 kB / 0.6219 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009957, allocations: 4 kB / 0.6219 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.01002, allocations: 4 kB / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01003, allocations: 3.984 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01004, allocations: 0 / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.01005, allocations: 7.938 kB / 0.6219 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01005, allocations: 4 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.01038, allocations: 163.5 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.01039, allocations: 4 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.0104, allocations: 4 kB / 0.6221 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.01049, allocations: 11.92 kB / 0.6221 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.01058, allocations: 7.984 kB / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.01058, allocations: 0 / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.01065, allocations: 79.28 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01065, allocations: 4.031 kB / 0.6222 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002224/0.01087, allocations: 7.953 kB / 0.6222 GB, free: 0.6484 MB / 0.5294 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.0001314/0.01101, allocations: 95.25 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.01126, allocations: 43.89 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01126, allocations: 4 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.01136, allocations: 23.91 kB / 0.6223 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.0117, allocations: 12.12 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.01211, allocations: 104.8 kB / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.01219, allocations: 63.34 kB / 0.6225 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.01222, allocations: 0 / 0.6225 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.01226, allocations: 12.5 kB / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.01226, allocations: 0 / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of Templates: time 0.003591/0.01586, allocations: 0.6461 MB / 0.6232 GB, free: 15.6 MB / 0.545 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: 6.435414753854275] Failed to read output from testmodel.py, exit status != 0: 0.02736341580748558 0.047792833 0.03838109 Calling exit ...