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.0007912/0.0007912, 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.0009889/0.0009889, allocations: 162 kB / 22.43 MB, free: 2.141 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.8835/0.8835, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.7137/0.7137, allocations: 154.7 MB / 413.9 MB, free: 0.7539 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.0008648/0.0008648, allocations: 75.7 kB / 0.6183 GB, free: 13.62 MB / 0.5886 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.4611/0.462, allocations: 101.9 MB / 0.7178 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001499/0.4635, allocations: 0.6157 MB / 0.7184 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.4643, allocations: 0.844 MB / 0.7193 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.4644, allocations: 0 / 0.7193 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.4644, allocations: 3.938 kB / 0.7193 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.4645, allocations: 5.969 kB / 0.7193 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.4646, allocations: 14.95 kB / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.4647, allocations: 22.5 kB / 0.7193 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4648, allocations: 15.45 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.4649, allocations: 16 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.4649, allocations: 19.66 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.465, allocations: 2.375 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.465, allocations: 2.406 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.465, allocations: 0.75 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.465, allocations: 11.84 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/0.4651, allocations: 31.61 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4651, allocations: 1.344 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4651, allocations: 0 / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4651, allocations: 4 kB / 0.7194 GB, free: 22.26 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.0003922/0.4655, allocations: 261.5 kB / 0.7197 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4656, allocations: 9.312 kB / 0.7197 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.4656, allocations: 31.45 kB / 0.7197 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.4656, allocations: 7.016 kB / 0.7197 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.4657, allocations: 109.8 kB / 0.7198 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4657, allocations: 1.406 kB / 0.7198 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4657, allocations: 1.656 kB / 0.7198 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4659, allocations: 52.14 kB / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4659, allocations: 13 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.4659, allocations: 4 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4659, allocations: 0 / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.466, allocations: 35 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.4663, allocations: 213.9 kB / 0.7201 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.4664, allocations: 42.33 kB / 0.7202 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.4664, allocations: 24.31 kB / 0.7202 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.4665, allocations: 9.047 kB / 0.7202 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.4665, allocations: 36.5 kB / 0.7202 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.4665, allocations: 0 / 0.7202 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002447/0.4667, allocations: 83.48 kB / 0.7203 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.4668, allocations: 52.44 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.4668, allocations: 105.8 kB / 0.7205 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.4668, allocations: 25.7 kB / 0.7205 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.4668, allocations: 90.05 kB / 0.7206 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.4669, allocations: 5.75 kB / 0.7206 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.4669, allocations: 16.83 kB / 0.7206 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.4669, allocations: 313.4 kB / 0.7209 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.467, allocations: 19.33 kB / 0.7209 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.467, allocations: 18.98 kB / 0.7209 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.4671, allocations: 47.98 kB / 0.721 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4671, allocations: 3.938 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.4672, allocations: 70.44 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4672, allocations: 6.375 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4672, allocations: 5.25 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4673, allocations: 0 / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.4673, allocations: 9.125 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4673, allocations: 1.812 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.4674, allocations: 9.766 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.4674, allocations: 5.781 kB / 0.7211 GB, free: 20.69 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.826e-05/0.4674, allocations: 121.6 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.4674, allocations: 1.094 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.4675, allocations: 7.781 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4675, allocations: 1.719 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4675, allocations: 0 / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4675, allocations: 1.562 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.083e-05/0.4675, allocations: 128.9 kB / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4675, allocations: 0 / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.4676, allocations: 15.33 kB / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4676, allocations: 0 / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4676, allocations: 0.6562 kB / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.4676, allocations: 0 / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4676, allocations: 2.438 kB / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.4677, allocations: 164.2 kB / 0.7215 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.4677, allocations: 6.156 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.4678, allocations: 2.031 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.4678, allocations: 9.5 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.4678, allocations: 13.31 kB / 0.7215 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.4679, allocations: 2.109 kB / 0.7215 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.4679, allocations: 83.42 kB / 0.7216 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4679, allocations: 0 / 0.7216 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001519/0.468, allocations: 4.438 kB / 0.7216 GB, free: 20.16 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.0002626/0.4683, allocations: 0.7 MB / 0.7223 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.4684, allocations: 37.61 kB / 0.7223 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4684, allocations: 4.812 kB / 0.7223 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.4685, allocations: 22.86 kB / 0.7224 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4688, allocations: 2.906 kB / 0.7224 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.4691, allocations: 142.1 kB / 0.7225 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.4692, allocations: 68.11 kB / 0.7226 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.4692, allocations: 1.719 kB / 0.7226 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.4692, allocations: 11.89 kB / 0.7226 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.4692, allocations: 1.062 kB / 0.7226 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.4887, allocations: 2.12 MB / 0.7247 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/7.011, allocations: 6.078 kB / 0.7247 GB, free: 18.34 MB / 0.6355 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.76779919094406] Failed to read output from testmodel.py, exit status != 0: 7.088175522978418 7.09889407 6.631930322 Calling exit ...