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.001106/0.001106, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001456/0.001456, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9458/0.9458, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7241/0.7241, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.885e-06/2.885e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.305e-05, allocations: 5.578 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001348/0.001371, allocations: 0.6156 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.002269, allocations: 0.847 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.002311, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.002342, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.002417, allocations: 7.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.002617, allocations: 15.98 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.002696, allocations: 27.92 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.002813, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.002897, allocations: 11.98 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.002951, allocations: 15.92 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.002978, allocations: 0 / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.002987, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.003008, allocations: 7.984 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.00303, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.357e-05/0.003124, allocations: 35.81 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003126, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003127, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.003132, 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.0004231/0.003555, allocations: 264.6 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.003606, allocations: 8.031 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.003644, allocations: 34.75 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.003668, allocations: 4.891 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.003756, allocations: 101.8 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.003785, allocations: 8.375 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.003795, allocations: 384 / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.003943, allocations: 58.22 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.003952, allocations: 192 / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.003962, allocations: 4.312 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.00397, allocations: 4.125 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.004071, allocations: 39.89 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.004409, allocations: 216.1 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.004525, allocations: 34.56 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.004574, allocations: 28.91 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.004593, allocations: 3.984 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.004613, allocations: 34.5 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.004614, allocations: 0 / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.00486, allocations: 93.52 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.004892, allocations: 55.41 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.004958, allocations: 106 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004969, allocations: 25.7 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.005005, allocations: 80.14 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.005026, allocations: 8 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.005052, allocations: 9.719 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.005133, allocations: 314.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.005179, allocations: 19.97 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.00522, allocations: 19.98 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.005308, allocations: 48.81 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.00531, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001296/0.005439, allocations: 73.55 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.005452, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.005459, allocations: 3.938 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.005472, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.005546, allocations: 11.98 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.005553, allocations: 4.031 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.005579, allocations: 4 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.005584, allocations: 0 / 0.6213 GB, free: 10.19 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.171e-05/0.005646, allocations: 118.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.005658, allocations: 3.938 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.00568, allocations: 7.266 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.005682, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.005688, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005692, allocations: 4 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.005796, allocations: 124.8 kB / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005797, allocations: 4 kB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.005827, allocations: 19.92 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005829, allocations: 3.938 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005836, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005837, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005838, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.005984, allocations: 171.5 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.005993, allocations: 7.891 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006004, allocations: 4.031 kB / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.006056, allocations: 7.984 kB / 0.6217 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.006106, allocations: 11.98 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006109, allocations: 0 / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.006137, allocations: 83.28 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006137, allocations: 0 / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001532/0.00629, allocations: 7.938 kB / 0.6218 GB, free: 9.551 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.0003326/0.006622, allocations: 0.7006 MB / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.006752, allocations: 39.95 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006753, allocations: 0 / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.006799, allocations: 23.92 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.007004, allocations: 4 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.007327, allocations: 130.8 kB / 0.6227 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.00737, allocations: 59.3 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.007394, allocations: 4 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.007432, allocations: 20.48 kB / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.007433, allocations: 0 / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.02564, allocations: 2.113 MB / 0.6249 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.769, allocations: 11.16 kB / 0.6249 GB, free: 6.504 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 & 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.631660935468972] Failed to read output from testmodel.py, exit status != 0: 6.85356870573014 6.870989155 6.865028851 Calling exit ...