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.0009816/0.0009816, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009196/0.0009196, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9359/0.9359, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7512/0.7512, allocations: 154.5 MB / 413.7 MB, free: 0.8125 MB / 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.409e-05, allocations: 4.812 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001373/0.001397, allocations: 0.6039 MB / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.00223, allocations: 0.8509 MB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.00226, allocations: 0 / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.002286, allocations: 3.938 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.002347, allocations: 0 / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.0025, allocations: 19.92 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.002572, allocations: 27.92 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.002675, allocations: 4 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.002753, allocations: 19.97 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.002802, allocations: 15.92 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.002828, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.002836, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.002853, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.002876, allocations: 8 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.86e-05/0.002974, allocations: 31.88 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002977, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.002978, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.002983, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 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.0003997/0.003383, allocations: 262.4 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.003434, allocations: 9.469 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.003468, allocations: 34.69 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.003493, allocations: 8.891 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.003578, allocations: 105.8 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.003601, allocations: 4.375 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003612, allocations: 4.375 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.003752, allocations: 54.17 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.00376, allocations: 192 / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.00377, allocations: 4.375 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.003777, allocations: 4.125 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.003875, allocations: 35.95 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.004226, allocations: 216.1 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.004329, allocations: 38.5 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.004383, allocations: 28.89 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.004403, allocations: 0 / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.004428, allocations: 38.5 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.00443, allocations: 0 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002682/0.004698, allocations: 85.59 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.004734, allocations: 55.41 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.004803, allocations: 101.8 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.004815, allocations: 25.7 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.004853, allocations: 80.14 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.004874, allocations: 16.02 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.004903, allocations: 13.72 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.004986, allocations: 322.8 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.005039, allocations: 15.98 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.005077, allocations: 11.98 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.005169, allocations: 48.81 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.005172, allocations: 64 / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.00529, allocations: 73.59 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.005304, allocations: 4 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00531, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005322, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.005409, allocations: 15.92 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.005415, allocations: 0 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.005443, allocations: 11.92 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005448, allocations: 32 / 0.6212 GB, free: 10.27 MB / 0.5886 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 6.213e-05/0.00551, allocations: 122.8 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.005525, allocations: 4.125 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.005546, allocations: 7.297 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005548, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.005553, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005555, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.005671, allocations: 128.8 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005672, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.005709, allocations: 11.98 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.005714, allocations: 11.94 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.005721, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005722, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.005724, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.005896, allocations: 167.5 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.005908, allocations: 11.89 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.005924, allocations: 3.984 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.005964, allocations: 4 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.006019, allocations: 8.016 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.006024, allocations: 8 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.00606, allocations: 79.28 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00606, allocations: 0 / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000158/0.006218, allocations: 4 kB / 0.6218 GB, free: 9.633 MB / 0.5886 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.0003899/0.006608, allocations: 0.6929 MB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.006768, allocations: 51.92 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.00677, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.006816, allocations: 15.98 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.007103, allocations: 10.41 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.007488, allocations: 134.5 kB / 0.6226 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.007534, allocations: 59.34 kB / 0.6227 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.007563, allocations: 8.125 kB / 0.6227 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.007605, allocations: 12.5 kB / 0.6227 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of SimCode: time 1.092e-06/0.007606, allocations: 0 / 0.6227 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.02507, allocations: 2.127 MB / 0.6248 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.767, allocations: 3.453 kB / 0.6248 GB, free: 6.594 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.580807766877115] Failed to read output from testmodel.py, exit status != 0: 6.846437036991119 6.856647233 6.851795021 Calling exit ...