Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008845/0.0008845, 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.0008899/0.0008899, allocations: 169.9 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.9038/0.9038, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7206/0.7206, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.227e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001322/0.001344, allocations: 0.6044 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000848/0.002192, allocations: 0.8471 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.002224, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.002252, allocations: 3.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.002311, allocations: 3.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.002457, allocations: 15.94 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.00252, allocations: 27.92 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.002622, allocations: 7.969 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.002692, allocations: 12 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.002738, allocations: 11.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.002761, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.002769, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.002784, allocations: 7.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.002802, allocations: 11.98 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.406e-05/0.002887, allocations: 23.95 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.00289, allocations: 3.984 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002891, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.002895, allocations: 0 / 0.6196 GB, free: 12.07 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.0003846/0.00328, allocations: 262.3 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.00332, allocations: 8.031 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.003351, allocations: 30.75 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.003377, allocations: 8.891 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.003464, allocations: 105.8 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.003487, allocations: 4.375 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.003499, allocations: 8.312 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.003648, allocations: 54.22 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.003658, allocations: 192 / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.003667, allocations: 4.312 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.003673, allocations: 4.125 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.003768, allocations: 31.97 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.004063, allocations: 220.1 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.077e-05/0.004154, allocations: 42.48 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.004201, allocations: 24.91 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.004214, allocations: 0 / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.004235, allocations: 34.5 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004236, allocations: 0 / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.00446, allocations: 93.58 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.004496, allocations: 55.41 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.004556, allocations: 101.8 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.004567, allocations: 29.64 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.004599, allocations: 84.12 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.004616, allocations: 4 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.004641, allocations: 13.72 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.004725, allocations: 314.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.004769, allocations: 19.97 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.004806, allocations: 20.11 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.004884, allocations: 40.83 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004887, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.004996, allocations: 73.55 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.005006, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.005012, allocations: 8.078 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.005023, allocations: 3.938 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.005083, allocations: 8 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.005087, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.00511, allocations: 7.984 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005115, allocations: 0 / 0.6213 GB, free: 10.18 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.132e-05/0.005176, allocations: 114.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005189, allocations: 3.938 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.005205, allocations: 11.44 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005207, allocations: 4 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.005213, allocations: 3.984 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005215, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.766e-05/0.005313, allocations: 132.7 kB / 0.6215 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005314, allocations: 3.938 kB / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.005341, allocations: 7.984 kB / 0.6215 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.005345, allocations: 11.94 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005351, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005351, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005352, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.005496, allocations: 171.5 kB / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-06/0.005503, allocations: 11.89 kB / 0.6217 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005513, allocations: 0 / 0.6217 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.005551, allocations: 7.984 kB / 0.6217 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.005591, allocations: 7.984 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.005594, allocations: 4 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.005618, allocations: 79.28 kB / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005618, allocations: 0 / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001368/0.005755, allocations: 7.938 kB / 0.6218 GB, free: 9.543 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.0002904/0.006045, allocations: 0.6968 MB / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.006165, allocations: 43.91 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006166, allocations: 0 / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.00621, allocations: 32 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.006432, allocations: 6.031 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.006734, allocations: 122.7 kB / 0.6227 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.006775, allocations: 59.34 kB / 0.6228 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.006797, allocations: 4 kB / 0.6228 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.006834, allocations: 16.48 kB / 0.6228 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.006835, allocations: 0 / 0.6228 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.02254, allocations: 2.126 MB / 0.6249 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/6.522, allocations: 0.7031 kB / 0.6249 GB, free: 6.5 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.21353102196008] Failed to read output from testmodel.py, exit status != 0: 6.60483184363693 6.613284058 6.608760564 Calling exit ...