Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.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.00129/0.00129, allocations: 72.45 kB / 19.02 MB, free: 1.109 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.00237/0.00237, allocations: 160 kB / 22.28 MB, free: 3.523 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.828 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.198/1.198, allocations: 154.7 MB / 413.8 MB, free: 3.152 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.Reals.Validation.Round,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",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.002007/0.002007, allocations: 75.02 kB / 0.6181 GB, free: 1.082 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.1959/0.1979, allocations: 102 MB / 0.7177 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001957/0.1998, allocations: 0.7223 MB / 0.7184 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.201, allocations: 0.8626 MB / 0.7193 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.201, allocations: 0 / 0.7193 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.2011, allocations: 7.875 kB / 0.7193 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.2012, allocations: 7.938 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2013, allocations: 35.89 kB / 0.7193 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2014, allocations: 71.84 kB / 0.7194 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2016, allocations: 20.12 kB / 0.7194 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2017, allocations: 47.89 kB / 0.7194 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.2017, allocations: 35.77 kB / 0.7195 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2018, allocations: 8 kB / 0.7195 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.2018, allocations: 8 kB / 0.7195 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.2018, allocations: 15.92 kB / 0.7195 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.2018, allocations: 23.86 kB / 0.7195 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.202, allocations: 79.62 kB / 0.7196 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.202, allocations: 0 / 0.7196 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.202, allocations: 0 / 0.7196 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.202, allocations: 4 kB / 0.7196 GB, free: 9.246 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006056/0.2026, allocations: 306 kB / 0.7199 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2026, allocations: 12.03 kB / 0.7199 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.2027, allocations: 30.75 kB / 0.7199 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.2027, allocations: 16.89 kB / 0.72 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.2029, allocations: 126.4 kB / 0.7201 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2029, allocations: 384 / 0.7201 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2029, allocations: 8.375 kB / 0.7201 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2032, allocations: 86.08 kB / 0.7202 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2032, allocations: 7.938 kB / 0.7202 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2032, allocations: 0 / 0.7202 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2032, allocations: 4 kB / 0.7202 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.2035, allocations: 63.94 kB / 0.7202 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.204, allocations: 283.8 kB / 0.7205 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.2042, allocations: 82.56 kB / 0.7206 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2044, allocations: 36.91 kB / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2044, allocations: 0 / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2044, allocations: 30.56 kB / 0.7207 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.2044, allocations: 0 / 0.7207 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005334/0.205, allocations: 141.5 kB / 0.7208 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.205, allocations: 51.41 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2051, allocations: 123.9 kB / 0.721 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2052, allocations: 29.7 kB / 0.721 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.2052, allocations: 96.08 kB / 0.7211 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.2052, allocations: 19.84 kB / 0.7211 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.2053, allocations: 21.72 kB / 0.7211 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2055, allocations: 318.8 kB / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2056, allocations: 31.97 kB / 0.7215 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2057, allocations: 27.98 kB / 0.7215 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.206, allocations: 64.81 kB / 0.7215 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.206, allocations: 8.109 kB / 0.7215 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000302/0.2063, allocations: 109.8 kB / 0.7217 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2063, allocations: 4 kB / 0.7217 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2063, allocations: 0 / 0.7217 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2063, allocations: 3.938 kB / 0.7217 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2064, allocations: 28.03 kB / 0.7217 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2064, allocations: 0 / 0.7217 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.2065, allocations: 7.938 kB / 0.7217 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2065, allocations: 11.98 kB / 0.7217 GB, free: 6.902 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001019/0.2066, allocations: 117.8 kB / 0.7218 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.2067, allocations: 3.953 kB / 0.7218 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.2067, allocations: 16.42 kB / 0.7218 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2067, allocations: 0 / 0.7218 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2067, allocations: 0 / 0.7218 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2067, allocations: 0 / 0.7218 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2069, allocations: 156.7 kB / 0.722 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2069, allocations: 0 / 0.722 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.207, allocations: 23.91 kB / 0.722 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2071, allocations: 4 kB / 0.722 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2071, allocations: 4 kB / 0.722 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2071, allocations: 0 / 0.722 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2071, allocations: 0 / 0.722 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.2077, allocations: 203.4 kB / 0.7222 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.2077, allocations: 3.953 kB / 0.7222 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2077, allocations: 11.98 kB / 0.7222 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2078, allocations: 4 kB / 0.7222 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.2079, allocations: 11.97 kB / 0.7222 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2079, allocations: 8 kB / 0.7222 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.208, allocations: 95.27 kB / 0.7223 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.208, allocations: 0 / 0.7223 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002439/0.2082, allocations: 12 kB / 0.7224 GB, free: 6.168 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.00072/0.2089, allocations: 0.7351 MB / 0.7231 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2093, allocations: 72.06 kB / 0.7231 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2093, allocations: 4 kB / 0.7231 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2094, allocations: 47.84 kB / 0.7232 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2097, allocations: 11.98 kB / 0.7232 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2118, allocations: 1.45 MB / 0.7246 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.2118, allocations: 79.08 kB / 0.7247 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.2119, allocations: 8.172 kB / 0.7247 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.212, allocations: 24.48 kB / 0.7247 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.212, allocations: 7.938 kB / 0.7247 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.2432, allocations: 3.064 MB / 0.7277 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.47, allocations: 13.58 kB / 0.7277 GB, free: 0.6562 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.478447389992652] Failed to read output from testmodel.py, exit status != 0: 11.57580777000112 11.606759931 11.399278212 Calling exit ...