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.0009302/0.0009302, 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.001136/0.001136, 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.9407/0.9407, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7388/0.7388, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.338e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001304/0.001327, allocations: 0.648 MB / 0.6187 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.002167, allocations: 0.8587 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.002207, allocations: 0 / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.002237, allocations: 3.938 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.002312, allocations: 4 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.002477, allocations: 27.91 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.002567, allocations: 43.84 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.002683, allocations: 11.98 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.002761, allocations: 19.98 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.002823, allocations: 27.89 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.00285, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.002865, allocations: 8 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.002883, allocations: 4 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.002909, allocations: 15.98 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003016, allocations: 55.78 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003019, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.00302, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.003024, allocations: 0 / 0.6197 GB, free: 12.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000472/0.003496, allocations: 270.3 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.003551, allocations: 13.47 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.003591, allocations: 34.75 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.00362, allocations: 12.89 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.003739, allocations: 105.7 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.003758, allocations: 4.375 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.003772, allocations: 4.375 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.003958, allocations: 66.22 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.003967, allocations: 192 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.003978, allocations: 384 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.003985, allocations: 4.125 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.004116, allocations: 55.94 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.00454, allocations: 251.8 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.004692, allocations: 62.53 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.00476, allocations: 28.86 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.004784, allocations: 7.938 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.004815, allocations: 42.55 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.004816, allocations: 0 / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003025/0.005119, allocations: 113.5 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.005159, allocations: 51.41 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.005237, allocations: 109.8 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.005254, allocations: 29.64 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.005308, allocations: 88.09 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.005328, allocations: 7.953 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.005361, allocations: 17.7 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.005461, allocations: 318.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.005526, allocations: 27.97 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.005572, allocations: 19.98 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.005682, allocations: 48.81 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005684, allocations: 0 / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001632/0.005847, allocations: 97.47 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.005867, allocations: 10.19 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.005874, allocations: 0 / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.00589, allocations: 4 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.005995, allocations: 11.98 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.006003, allocations: 0 / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.006036, allocations: 7.984 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.006048, allocations: 4 kB / 0.6216 GB, free: 9.945 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 (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 6.598e-05/0.006114, allocations: 110.8 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.006129, allocations: 7.938 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.006155, allocations: 11.98 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.006157, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.006163, allocations: 4.25 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006166, allocations: 0 / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.006285, allocations: 144.7 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006287, allocations: 3.938 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.006331, allocations: 15.92 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006333, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.006341, allocations: 3.938 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006342, allocations: 4 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006344, allocations: 3.984 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.006519, allocations: 179.5 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.006531, allocations: 7.922 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.006545, allocations: 4 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.006587, allocations: 4 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.006643, allocations: 11.97 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.006647, allocations: 4 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.006686, allocations: 83.28 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.006686, allocations: 0 / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001443/0.00683, allocations: 8 kB / 0.6221 GB, free: 9.27 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 (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.0003686/0.007199, allocations: 0.7201 MB / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.007356, allocations: 56.38 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007357, allocations: 0 / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.007414, allocations: 35.84 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.007674, allocations: 4.188 kB / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.008707, allocations: 1.315 MB / 0.6242 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.716e-05/0.008754, allocations: 67.28 kB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.008789, allocations: 8 kB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.008838, allocations: 20.48 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.008839, allocations: 0 / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.02866, allocations: 2.528 MB / 0.6268 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/6.902, allocations: 8.047 kB / 0.6268 GB, free: 4.543 MB / 0.5886 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: 9.87785566598177] Failed to read output from testmodel.py, exit status != 0: 6.982049606740475 6.993395496 6.988339581 Calling exit ...