Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008232/0.0008232, allocations: 76.45 kB / 19.14 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.0008429/0.0008429, allocations: 165.9 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.8874/0.8874, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6894/0.6894, allocations: 154.7 MB / 413.9 MB, free: 288 kB / 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.IntegerToReal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_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.00149/0.00149, allocations: 73.33 kB / 0.6183 GB, free: 13.61 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.4815/0.483, allocations: 101.9 MB / 0.7178 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001452/0.4845, allocations: 0.642 MB / 0.7185 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.4854, allocations: 0.8629 MB / 0.7193 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.4854, allocations: 1.344 kB / 0.7193 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.4855, allocations: 3.938 kB / 0.7193 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.4855, allocations: 4.547 kB / 0.7193 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.4857, allocations: 19.64 kB / 0.7193 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.4858, allocations: 44.38 kB / 0.7194 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4859, allocations: 12.36 kB / 0.7194 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.486, allocations: 29.84 kB / 0.7194 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.4861, allocations: 25.39 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.4861, allocations: 4.094 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.4861, allocations: 3.781 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.4861, allocations: 11.56 kB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.4862, allocations: 22.22 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.4863, allocations: 47.78 kB / 0.7195 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4863, allocations: 1.094 kB / 0.7195 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4863, allocations: 0 / 0.7195 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4863, allocations: 0 / 0.7195 GB, free: 22.14 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.0003999/0.4867, allocations: 280.1 kB / 0.7198 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4867, allocations: 13.06 kB / 0.7198 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.4868, allocations: 37.34 kB / 0.7199 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.4868, allocations: 4.094 kB / 0.7199 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.4869, allocations: 115 kB / 0.72 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4869, allocations: 1.469 kB / 0.72 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.4869, allocations: 7.125 kB / 0.72 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4871, allocations: 72.83 kB / 0.72 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4871, allocations: 7.922 kB / 0.7201 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.4871, allocations: 0.9062 kB / 0.7201 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4871, allocations: 5.625 kB / 0.7201 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4872, allocations: 51.16 kB / 0.7201 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.4875, allocations: 242.1 kB / 0.7203 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4877, allocations: 65.97 kB / 0.7204 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.4877, allocations: 31.78 kB / 0.7204 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.4878, allocations: 1.219 kB / 0.7204 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.4878, allocations: 31.56 kB / 0.7205 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.4878, allocations: 4 kB / 0.7205 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002893/0.4881, allocations: 106.5 kB / 0.7206 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.4881, allocations: 52.59 kB / 0.7206 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.4882, allocations: 113.1 kB / 0.7207 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.4882, allocations: 25.7 kB / 0.7207 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.4882, allocations: 84.11 kB / 0.7208 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.4882, allocations: 18.81 kB / 0.7208 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.4882, allocations: 15.3 kB / 0.7209 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.4883, allocations: 326.3 kB / 0.7212 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.4883, allocations: 22.8 kB / 0.7212 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.4884, allocations: 22.83 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.4885, allocations: 59.23 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4885, allocations: 0 / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.4887, allocations: 79.45 kB / 0.7213 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4887, allocations: 9.062 kB / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4887, allocations: 1.672 kB / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4887, allocations: 3.938 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.4888, allocations: 13.66 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4888, allocations: 0.7031 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.4888, allocations: 10 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.4888, allocations: 2.844 kB / 0.7214 GB, free: 20.5 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 5.388e-05/0.4889, allocations: 117.7 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.4889, allocations: 2.25 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.4889, allocations: 14 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4889, allocations: 0.5625 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4889, allocations: 5.062 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4889, allocations: 4.922 kB / 0.7215 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.489, allocations: 143.2 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.489, allocations: 2.25 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.4891, allocations: 12.81 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4891, allocations: 0 / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4891, allocations: 2.016 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4891, allocations: 0 / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4891, allocations: 5.125 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.4893, allocations: 191.9 kB / 0.7219 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.4893, allocations: 3.453 kB / 0.7219 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.4893, allocations: 0.5156 kB / 0.7219 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.4893, allocations: 6.516 kB / 0.7219 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.4894, allocations: 11.88 kB / 0.7219 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4894, allocations: 1.719 kB / 0.7219 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.328e-05/0.4894, allocations: 86.91 kB / 0.722 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4894, allocations: 0 / 0.722 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001392/0.4896, allocations: 10.34 kB / 0.722 GB, free: 19.94 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.0002824/0.4899, allocations: 0.72 MB / 0.7227 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.49, allocations: 52.09 kB / 0.7227 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.49, allocations: 0 / 0.7227 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.4901, allocations: 29.39 kB / 0.7228 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4903, allocations: 11 kB / 0.7228 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.4913, allocations: 1.313 MB / 0.7241 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.4913, allocations: 65.73 kB / 0.7241 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.4913, allocations: 7.969 kB / 0.7241 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.4914, allocations: 22.33 kB / 0.7241 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.4914, allocations: 3.938 kB / 0.7242 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.5076, allocations: 2.514 MB / 0.7266 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/7.06, allocations: 4.688 kB / 0.7266 GB, free: 17.03 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.841094673029147] Failed to read output from testmodel.py, exit status != 0: 7.139626565040089 7.148697439 6.660624486 Calling exit ...