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.0008522/0.0008522, allocations: 72.47 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.0008703/0.0008703, allocations: 161.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.8747/0.8747, allocations: 177.2 MB / 202.8 MB, free: 5.781 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7173/0.7173, allocations: 155 MB / 414.2 MB, free: 488 kB / 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.0008741/0.0008741, allocations: 66.44 kB / 0.6186 GB, free: 13.28 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.487/0.4879, allocations: 102 MB / 0.7182 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00141/0.4893, allocations: 0.6362 MB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.4901, allocations: 0.8624 MB / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.4902, allocations: 1.125 kB / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.4902, allocations: 8.594 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.4903, allocations: 5.922 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.4904, allocations: 25.52 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.4905, allocations: 40.16 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4906, allocations: 14.91 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.4907, allocations: 29.58 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.4908, allocations: 24.52 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4908, allocations: 3.969 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.4908, allocations: 4.812 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.4908, allocations: 11.3 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.4909, allocations: 22.02 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.491, allocations: 52.06 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.491, allocations: 1.062 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.491, allocations: 0 / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.491, allocations: 0 / 0.7199 GB, free: 22.01 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.0003951/0.4914, allocations: 276.6 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4914, allocations: 10.69 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.4915, allocations: 36.44 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.4915, allocations: 3.5 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.4916, allocations: 115.3 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4916, allocations: 6.297 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4916, allocations: 2.75 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4917, allocations: 74.17 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4917, allocations: 3.938 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4918, allocations: 0 / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4918, allocations: 1.719 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.4919, allocations: 46.81 kB / 0.7205 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.4922, allocations: 249.8 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.4923, allocations: 69.95 kB / 0.7208 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.4924, allocations: 27.97 kB / 0.7208 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.4924, allocations: 0.8438 kB / 0.7208 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.4924, allocations: 43.91 kB / 0.7208 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4924, allocations: 0 / 0.7208 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002763/0.4927, allocations: 106.5 kB / 0.7209 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.4927, allocations: 56.44 kB / 0.721 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.4928, allocations: 113.9 kB / 0.7211 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.4928, allocations: 25.7 kB / 0.7211 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.4928, allocations: 84.02 kB / 0.7212 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4928, allocations: 17.73 kB / 0.7212 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.4929, allocations: 15.7 kB / 0.7212 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.4929, allocations: 322.2 kB / 0.7216 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.493, allocations: 22.38 kB / 0.7216 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.493, allocations: 27.17 kB / 0.7216 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.4931, allocations: 55.2 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4931, allocations: 0 / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.4933, allocations: 83.28 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4933, allocations: 5.719 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4933, allocations: 0.7969 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4933, allocations: 1.125 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.4934, allocations: 16.39 kB / 0.7218 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4934, allocations: 5.125 kB / 0.7218 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.4934, allocations: 10.17 kB / 0.7218 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4934, allocations: 2.438 kB / 0.7218 GB, free: 20.37 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.066e-05/0.4935, allocations: 117.7 kB / 0.7219 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.4935, allocations: 2.25 kB / 0.7219 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.4935, allocations: 9.812 kB / 0.7219 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4935, allocations: 1.688 kB / 0.7219 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4935, allocations: 0 / 0.7219 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4935, allocations: 0.7031 kB / 0.7219 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.4936, allocations: 144.6 kB / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4936, allocations: 0 / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.4937, allocations: 13.72 kB / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4937, allocations: 0 / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4937, allocations: 1.797 kB / 0.7221 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4937, allocations: 8.438 kB / 0.7221 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.4937, allocations: 1.125 kB / 0.7221 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4939, allocations: 189.2 kB / 0.7222 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.4939, allocations: 1.219 kB / 0.7222 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4939, allocations: 9.75 kB / 0.7223 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.494, allocations: 7.219 kB / 0.7223 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.494, allocations: 10.69 kB / 0.7223 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.494, allocations: 2.938 kB / 0.7223 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.494, allocations: 85.27 kB / 0.7224 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.494, allocations: 5 kB / 0.7224 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001495/0.4942, allocations: 6.312 kB / 0.7224 GB, free: 19.82 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.0002695/0.4945, allocations: 0.7232 MB / 0.7231 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.4946, allocations: 52.38 kB / 0.7231 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.4946, allocations: 0 / 0.7231 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.4947, allocations: 29.06 kB / 0.7231 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4949, allocations: 7.297 kB / 0.7232 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008645/0.4958, allocations: 1.315 MB / 0.7244 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.4958, allocations: 64.5 kB / 0.7245 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.4958, allocations: 4.812 kB / 0.7245 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.4959, allocations: 22.02 kB / 0.7245 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.4959, allocations: 0 / 0.7245 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.5113, allocations: 2.527 MB / 0.727 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/7.042, allocations: 13.92 kB / 0.727 GB, free: 16.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.698106232099235] Failed to read output from testmodel.py, exit status != 0: 7.117030976107344 7.125639681 6.633004993 Calling exit ...