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.0009484/0.0009484, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008637/0.0008637, allocations: 162 kB / 22.43 MB, free: 2.145 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.9211/0.9211, allocations: 177.2 MB / 202.8 MB, free: 5.754 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7263/0.7263, allocations: 154.9 MB / 414.2 MB, free: 0.5 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: 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.001511/0.001511, allocations: 71.89 kB / 0.6186 GB, free: 13.3 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5042, allocations: 102 MB / 0.7182 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001366/0.5055, allocations: 0.6016 MB / 0.7188 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.5063, allocations: 0.8518 MB / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.5063, allocations: 0 / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.5063, allocations: 0 / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.5064, allocations: 5.156 kB / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.5066, allocations: 11.8 kB / 0.7196 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.5067, allocations: 25.55 kB / 0.7196 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.5068, allocations: 15.39 kB / 0.7196 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.5069, allocations: 13.11 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.5069, allocations: 18.28 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.5069, allocations: 3.375 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-06/0.5069, allocations: 2.156 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.507, allocations: 0.8438 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.507, allocations: 11.52 kB / 0.7197 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.5071, allocations: 35.98 kB / 0.7197 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5071, allocations: 1.062 kB / 0.7197 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5071, allocations: 0 / 0.7197 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5071, allocations: 0 / 0.7197 GB, free: 22.01 MB / 0.6355 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.000333/0.5074, allocations: 260.5 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5075, allocations: 15.81 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.5075, allocations: 32.45 kB / 0.72 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.5075, allocations: 6.016 kB / 0.72 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.21e-05/0.5076, allocations: 109.4 kB / 0.7201 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5076, allocations: 6.094 kB / 0.7201 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.5076, allocations: 1.438 kB / 0.7201 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5077, allocations: 52.17 kB / 0.7202 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5078, allocations: 4.688 kB / 0.7202 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.5078, allocations: 0 / 0.7202 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5078, allocations: 1.094 kB / 0.7202 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.5079, allocations: 38.89 kB / 0.7202 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.5081, allocations: 217.8 kB / 0.7204 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5082, allocations: 45.98 kB / 0.7205 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.5083, allocations: 23.31 kB / 0.7205 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.5083, allocations: 1.781 kB / 0.7205 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5083, allocations: 31.88 kB / 0.7205 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.5083, allocations: 7.984 kB / 0.7205 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002752/0.5086, allocations: 88.17 kB / 0.7206 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5086, allocations: 52.86 kB / 0.7207 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.5087, allocations: 101 kB / 0.7208 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.5087, allocations: 25.7 kB / 0.7208 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.5087, allocations: 85.94 kB / 0.7209 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5088, allocations: 9.812 kB / 0.7209 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.5088, allocations: 14.59 kB / 0.7209 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.5088, allocations: 316.7 kB / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.5089, allocations: 22.92 kB / 0.7212 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.5089, allocations: 20 kB / 0.7213 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.509, allocations: 39.83 kB / 0.7213 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.509, allocations: 3.938 kB / 0.7213 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.5091, allocations: 77.36 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5091, allocations: 5.062 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5092, allocations: 3.938 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5092, allocations: 1.438 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.5092, allocations: 9.234 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5093, allocations: 0.6094 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.5093, allocations: 6.281 kB / 0.7214 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5093, allocations: 6.203 kB / 0.7214 GB, free: 20.44 MB / 0.6355 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 4.469e-05/0.5093, allocations: 116.9 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.5093, allocations: 1.5 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.5094, allocations: 9.391 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5094, allocations: 0.7031 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5094, allocations: 0 / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.5094, allocations: 1.375 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.364e-05/0.5094, allocations: 133 kB / 0.7216 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5095, allocations: 0.75 kB / 0.7216 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.5095, allocations: 9.094 kB / 0.7217 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5095, allocations: 1.438 kB / 0.7217 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.5095, allocations: 8.562 kB / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.5095, allocations: 0 / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5095, allocations: 1.438 kB / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.5096, allocations: 165.8 kB / 0.7218 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.5096, allocations: 10.34 kB / 0.7218 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.5097, allocations: 0.6562 kB / 0.7218 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.5097, allocations: 6.062 kB / 0.7218 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.5097, allocations: 8.859 kB / 0.7219 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.5097, allocations: 5.281 kB / 0.7219 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.5098, allocations: 84.77 kB / 0.7219 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5098, allocations: 0 / 0.7219 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001334/0.5099, allocations: 3.25 kB / 0.7219 GB, free: 19.91 MB / 0.6355 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.0002376/0.5101, allocations: 0.6971 MB / 0.7226 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.5103, allocations: 41.75 kB / 0.7227 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5103, allocations: 4.938 kB / 0.7227 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.5103, allocations: 18.66 kB / 0.7227 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5106, allocations: 7.797 kB / 0.7227 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.5109, allocations: 141.2 kB / 0.7228 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.5109, allocations: 67.45 kB / 0.7229 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.511, allocations: 7.047 kB / 0.7229 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.511, allocations: 15.94 kB / 0.7229 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.511, allocations: 0 / 0.7229 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.5306, allocations: 2.105 MB / 0.725 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/7.094, allocations: 18.42 kB / 0.725 GB, free: 18.09 MB / 0.6355 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.975355768110603] Failed to read output from testmodel.py, exit status != 0: 7.175477877026424 7.1840286110000005 6.6749299 Calling exit ...