Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.0007965/0.0007965, 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.0008673/0.0008673, 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.9229/0.9229, 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 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.7274/0.7274, allocations: 154.9 MB / 414.2 MB, free: 0.5156 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.IntegerToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.001045/0.001045, allocations: 76.95 kB / 0.6186 GB, free: 13.31 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.4816/0.4826, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001548/0.4842, allocations: 0.6365 MB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.4852, allocations: 0.8537 MB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.4853, allocations: 0 / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.4853, allocations: 1.656 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.4854, allocations: 4.453 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.4856, allocations: 30.84 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.4857, allocations: 44.03 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.4858, allocations: 17.44 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4859, allocations: 25.66 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.486, allocations: 29.58 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4861, allocations: 2.75 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.4861, allocations: 4.188 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.4861, allocations: 12.83 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.4861, allocations: 13.75 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.4863, allocations: 48.39 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4863, allocations: 0 / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4863, allocations: 4 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.4863, allocations: 1 kB / 0.7199 GB, free: 22.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000515/0.4868, allocations: 279.1 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.4869, allocations: 11.88 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.4869, allocations: 32.34 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.4869, allocations: 3.547 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4871, allocations: 122.7 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4871, allocations: 2.688 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4871, allocations: 2.875 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.4873, allocations: 73.55 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4873, allocations: 7.875 kB / 0.7204 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4873, allocations: 0 / 0.7204 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4873, allocations: 5.156 kB / 0.7204 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.4874, allocations: 52.67 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.4878, allocations: 249.4 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.4879, allocations: 60.72 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.488, allocations: 33.05 kB / 0.7208 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.488, allocations: 0 / 0.7208 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.488, allocations: 32.62 kB / 0.7208 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.488, allocations: 1.469 kB / 0.7208 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002975/0.4883, allocations: 112.1 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4883, allocations: 53.5 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.4884, allocations: 105.4 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.4884, allocations: 29.64 kB / 0.7211 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.4885, allocations: 91.61 kB / 0.7212 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4885, allocations: 15.28 kB / 0.7212 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.4885, allocations: 18.83 kB / 0.7212 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.4886, allocations: 322.4 kB / 0.7215 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.4886, allocations: 21.91 kB / 0.7215 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.4887, allocations: 24.31 kB / 0.7215 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.4888, allocations: 54.25 kB / 0.7216 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4888, allocations: 4 kB / 0.7216 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001805/0.489, allocations: 84.83 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.489, allocations: 4.875 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.489, allocations: 0 / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.489, allocations: 0.6094 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4892, allocations: 13.2 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4892, allocations: 5.141 kB / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.4892, allocations: 10.11 kB / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4892, allocations: 5.906 kB / 0.7217 GB, free: 20.36 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.11e-05/0.4893, allocations: 120.4 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.4893, allocations: 1.188 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.4893, allocations: 6.5 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4893, allocations: 4.938 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4893, allocations: 0 / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4893, allocations: 1.938 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4895, allocations: 139.7 kB / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4895, allocations: 3.938 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.4895, allocations: 13.31 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4895, allocations: 9.641 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.4895, allocations: 0.5625 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4895, allocations: 1.219 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4895, allocations: 0.9531 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.4897, allocations: 189.8 kB / 0.7222 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.4897, allocations: 0.5156 kB / 0.7222 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4898, allocations: 6.094 kB / 0.7222 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.4898, allocations: 6.078 kB / 0.7222 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.4899, allocations: 16.52 kB / 0.7222 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4899, allocations: 2.062 kB / 0.7222 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.4899, allocations: 85.62 kB / 0.7223 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4899, allocations: 0 / 0.7223 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001472/0.4901, allocations: 7.312 kB / 0.7223 GB, free: 19.81 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003395/0.4904, allocations: 0.7146 MB / 0.723 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.4906, allocations: 64.5 kB / 0.7231 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4906, allocations: 0 / 0.7231 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.4907, allocations: 33.31 kB / 0.7231 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.491, allocations: 4.344 kB / 0.7231 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.492, allocations: 1.313 MB / 0.7244 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.4921, allocations: 64.52 kB / 0.7244 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.4921, allocations: 4.406 kB / 0.7245 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.4922, allocations: 17.88 kB / 0.7245 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.4922, allocations: 1.062 kB / 0.7245 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.5085, allocations: 2.523 MB / 0.7269 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/7.158, allocations: 6.75 kB / 0.7269 GB, free: 16.9 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_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_IntegerToReal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.07692698307801] Failed to read output from testmodel.py, exit status != 0: 7.238581179059111 7.251490287 6.7626488590000005 Calling exit ...