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.001562/0.001562, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.001905/0.001905, allocations: 159.8 kB / 22.29 MB, free: 3.512 MB / 13.93 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.425/1.425, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] 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 1.265/1.265, allocations: 154.7 MB / 413.8 MB, free: 3.117 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: 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.002096/0.002096, allocations: 75.52 kB / 0.618 GB, free: 1.129 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2177, allocations: 102 MB / 0.7176 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00212/0.2198, allocations: 0.6037 MB / 0.7182 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2209, allocations: 0.8436 MB / 0.719 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.2209, allocations: 0 / 0.719 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.2209, allocations: 3.938 kB / 0.719 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.221, allocations: 3.938 kB / 0.719 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.2211, allocations: 15.92 kB / 0.7191 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.2212, allocations: 31.86 kB / 0.7191 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.2213, allocations: 4 kB / 0.7191 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.2214, allocations: 15.98 kB / 0.7191 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2214, allocations: 19.91 kB / 0.7191 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2215, allocations: 4 kB / 0.7191 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.2215, allocations: 0 / 0.7191 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2215, allocations: 4 kB / 0.7191 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.2215, allocations: 11.94 kB / 0.7191 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.547e-05/0.2216, allocations: 28.16 kB / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2216, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2216, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2216, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 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.000496/0.2221, allocations: 262.3 kB / 0.7194 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2222, allocations: 12.03 kB / 0.7194 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.2222, allocations: 34.75 kB / 0.7195 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.2222, allocations: 4.891 kB / 0.7195 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2224, allocations: 106.5 kB / 0.7196 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2224, allocations: 8.312 kB / 0.7196 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.2224, allocations: 8.297 kB / 0.7196 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2226, allocations: 50.23 kB / 0.7196 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2226, allocations: 3.938 kB / 0.7196 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2226, allocations: 0 / 0.7196 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2226, allocations: 4 kB / 0.7196 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2228, allocations: 35.95 kB / 0.7197 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.2232, allocations: 220 kB / 0.7199 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.2234, allocations: 42.44 kB / 0.7199 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2235, allocations: 28.89 kB / 0.72 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2235, allocations: 0 / 0.72 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2236, allocations: 34.56 kB / 0.72 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2236, allocations: 4 kB / 0.72 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004225/0.224, allocations: 85.64 kB / 0.7201 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.224, allocations: 55.34 kB / 0.7201 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.2241, allocations: 101.8 kB / 0.7202 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2241, allocations: 25.7 kB / 0.7202 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.2242, allocations: 84.09 kB / 0.7203 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2242, allocations: 8 kB / 0.7203 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.2243, allocations: 9.719 kB / 0.7203 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2244, allocations: 323 kB / 0.7207 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.2245, allocations: 15.98 kB / 0.7207 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.2246, allocations: 19.98 kB / 0.7207 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2248, allocations: 40.81 kB / 0.7207 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2248, allocations: 7.875 kB / 0.7207 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00024/0.225, allocations: 77.61 kB / 0.7208 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.225, allocations: 4 kB / 0.7208 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.225, allocations: 0 / 0.7208 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2251, allocations: 0 / 0.7208 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2252, allocations: 11.98 kB / 0.7208 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2252, allocations: 0 / 0.7208 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.2253, allocations: 7.938 kB / 0.7208 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.2253, allocations: 3.984 kB / 0.7208 GB, free: 7.754 MB / 0.6198 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.0001017/0.2254, allocations: 121.8 kB / 0.7209 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.2254, allocations: 0 / 0.7209 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.2254, allocations: 3.312 kB / 0.721 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2254, allocations: 0 / 0.721 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2254, allocations: 7.938 kB / 0.721 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2254, allocations: 0 / 0.721 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2256, allocations: 128.7 kB / 0.7211 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2256, allocations: 0 / 0.7211 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.2257, allocations: 11.98 kB / 0.7211 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2257, allocations: 0 / 0.7211 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2257, allocations: 4 kB / 0.7211 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2257, allocations: 4 kB / 0.7211 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2257, allocations: 0 / 0.7211 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.226, allocations: 167.4 kB / 0.7213 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.226, allocations: 4 kB / 0.7213 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.226, allocations: 3.984 kB / 0.7213 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.2261, allocations: 4 kB / 0.7213 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.2262, allocations: 7.984 kB / 0.7213 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2262, allocations: 0 / 0.7213 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.2262, allocations: 87.31 kB / 0.7214 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2262, allocations: 0 / 0.7214 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002111/0.2264, allocations: 7.953 kB / 0.7214 GB, free: 7.137 MB / 0.6198 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.0006355/0.2271, allocations: 0.6929 MB / 0.722 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.2273, allocations: 47.92 kB / 0.7221 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2273, allocations: 0 / 0.7221 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/0.2274, allocations: 19.98 kB / 0.7221 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.2277, allocations: 5.875 kB / 0.7221 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.2282, allocations: 147 kB / 0.7223 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.405e-05/0.2283, allocations: 59.36 kB / 0.7223 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.2283, allocations: 12.05 kB / 0.7223 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.2284, allocations: 16.5 kB / 0.7223 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2284, allocations: 0 / 0.7223 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.2623, allocations: 2.113 MB / 0.7244 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.56, allocations: 10.38 kB / 0.7244 GB, free: 4.047 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.668687534998753] Failed to read output from testmodel.py, exit status != 0: 11.663501465009176 11.681322694 11.456283238 Calling exit ...