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.001148/0.001148, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001574/0.001574, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7889/0.7889, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [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.001001/0.001001, allocations: 74.72 kB / 0.7178 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5687, allocations: 102 MB / 0.8174 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001563/0.5702, allocations: 0.6153 MB / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.5712, allocations: 0.844 MB / 0.8188 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.5712, allocations: 0 / 0.8188 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.5713, allocations: 4.844 kB / 0.8188 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/0.5713, allocations: 0 / 0.8188 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.5715, allocations: 19.97 kB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.5716, allocations: 30.56 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.5717, allocations: 9.375 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.5718, allocations: 7.516 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.5718, allocations: 18.66 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.5718, allocations: 0 / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.5719, allocations: 3.75 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.5719, allocations: 8.969 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.5719, allocations: 13.14 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.572, allocations: 27.44 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.572, allocations: 0.6094 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/0.572, allocations: 4 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.572, allocations: 3.312 kB / 0.8189 GB, free: 176 kB / 0.6042 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.0004536/0.5725, allocations: 256.7 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.5725, allocations: 9.844 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.5726, allocations: 31.41 kB / 0.8192 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.5726, allocations: 2.609 kB / 0.8192 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.5727, allocations: 113.8 kB / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5727, allocations: 1.594 kB / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.5727, allocations: 1.562 kB / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.5729, allocations: 60.38 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5729, allocations: 5.875 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5729, allocations: 4 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5729, allocations: 0 / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.573, allocations: 34.78 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.5734, allocations: 217.2 kB / 0.8196 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5735, allocations: 44.16 kB / 0.8197 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.5736, allocations: 31.58 kB / 0.8197 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.5736, allocations: 0.7969 kB / 0.8197 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5736, allocations: 32.78 kB / 0.8197 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.5736, allocations: 0 / 0.8197 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002647/0.5739, allocations: 82.61 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5739, allocations: 53.12 kB / 0.8199 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.574, allocations: 101.4 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.574, allocations: 29.83 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.574, allocations: 84.81 kB / 0.8201 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.574, allocations: 3.953 kB / 0.8201 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.5741, allocations: 18.38 kB / 0.8201 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5742, allocations: 313.1 kB / 0.8204 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.5743, allocations: 22.97 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.5743, allocations: 19.69 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.5744, allocations: 46.95 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5744, allocations: 3.938 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001494/0.5746, allocations: 66.22 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.5746, allocations: 5.812 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5746, allocations: 0 / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5746, allocations: 1.156 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5747, allocations: 9.062 kB / 0.8206 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5747, allocations: 0.8438 kB / 0.8206 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.5748, allocations: 21.95 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.5748, allocations: 2.344 kB / 0.8206 GB, free: 14.61 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 9.282e-05/0.5749, allocations: 115.4 kB / 0.8207 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.5749, allocations: 2.219 kB / 0.8207 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.5749, allocations: 10.09 kB / 0.8207 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5749, allocations: 0 / 0.8207 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5749, allocations: 4 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5749, allocations: 0.8438 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.5751, allocations: 129.1 kB / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5751, allocations: 7.812 kB / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.5751, allocations: 7.969 kB / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.5751, allocations: 0 / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5751, allocations: 0.6562 kB / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5751, allocations: 0 / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5751, allocations: 0 / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.5753, allocations: 167.1 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.5753, allocations: 1.844 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5753, allocations: 10.36 kB / 0.821 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.5754, allocations: 9.203 kB / 0.821 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.5755, allocations: 5.562 kB / 0.821 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.5755, allocations: 0.5156 kB / 0.821 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.5755, allocations: 84.84 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5755, allocations: 0 / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001495/0.5757, allocations: 4.594 kB / 0.8211 GB, free: 14.09 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.0004977/0.5762, allocations: 0.6992 MB / 0.8218 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.5764, allocations: 41.81 kB / 0.8218 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5764, allocations: 0 / 0.8218 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.5764, allocations: 29.14 kB / 0.8219 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.5768, allocations: 1.219 kB / 0.8219 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.5773, allocations: 142.9 kB / 0.822 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.075e-05/0.5774, allocations: 67.44 kB / 0.8221 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.5774, allocations: 0.75 kB / 0.8221 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.5775, allocations: 11.7 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.5775, allocations: 0 / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.5959, allocations: 2.004 MB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.359, allocations: 13.14 kB / 0.8241 GB, free: 12.29 MB / 0.6198 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: 10.43224612576887] Failed to read output from testmodel.py, exit status != 0: 7.4346450082957745 7.446337725 6.872488976 Calling exit ...