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.0009854/0.0009854, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001196/0.001196, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9175/0.9175, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7359/0.7359, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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 3.387e-06/3.387e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.714e-05, allocations: 5.562 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001833/0.00186, allocations: 0.6507 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.002999, allocations: 0.8548 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.003047, allocations: 4 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.003079, allocations: 3.938 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.003157, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.003321, allocations: 23.91 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003435, allocations: 51.84 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003552, allocations: 15.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.003645, allocations: 19.98 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.003712, allocations: 19.91 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.003746, allocations: 8 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.003756, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.003777, allocations: 7.984 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.003809, allocations: 15.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.003922, allocations: 47.84 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003924, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003925, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.00393, allocations: 4 kB / 0.6197 GB, free: 11.99 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.0004753/0.004405, allocations: 278.2 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.004455, allocations: 9.469 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.004494, allocations: 34.73 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.004522, allocations: 12.89 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.004633, allocations: 105.8 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.004649, allocations: 384 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.00466, allocations: 4.375 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.004844, allocations: 62.22 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.004855, allocations: 8.188 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004866, allocations: 4.375 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004873, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.005045, allocations: 59.8 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.005455, allocations: 243.9 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.005635, allocations: 62.58 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.005721, allocations: 32.81 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.005738, allocations: 4 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.005765, allocations: 38.5 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.005766, allocations: 4 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000355/0.006121, allocations: 105.6 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.006158, allocations: 55.41 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.006239, allocations: 101.9 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.006254, allocations: 29.64 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.0063, allocations: 92.08 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.006319, allocations: 11.95 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.006358, allocations: 17.72 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.006456, allocations: 318.8 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.006536, allocations: 19.98 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.006609, allocations: 23.97 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.006762, allocations: 61.02 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006764, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002032/0.006968, allocations: 97.53 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.006983, allocations: 6.188 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006988, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.007003, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.007108, allocations: 11.98 kB / 0.6215 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.007117, allocations: 4 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.007165, allocations: 7.984 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.007173, allocations: 0 / 0.6216 GB, free: 9.906 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 7.602e-05/0.007249, allocations: 118.8 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.007273, allocations: 7.875 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.007296, allocations: 4 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.007299, allocations: 4 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.007303, allocations: 256 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.007305, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.007463, allocations: 148.6 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.007467, allocations: 3.938 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.007533, allocations: 15.98 kB / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007535, allocations: 0 / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.007544, allocations: 4 kB / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007545, allocations: 0 / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007546, allocations: 0 / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.007933, allocations: 179.5 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.007943, allocations: 7.938 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.007958, allocations: 4 kB / 0.622 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.00804, allocations: 7.984 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.008097, allocations: 15.92 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.008102, allocations: 0 / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.008142, allocations: 91.27 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.008142, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002559/0.008398, allocations: 8 kB / 0.6221 GB, free: 9.223 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.0004762/0.008874, allocations: 0.7124 MB / 0.6228 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.009094, allocations: 55.88 kB / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009096, allocations: 4 kB / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.009187, allocations: 39.91 kB / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.009493, allocations: 0 / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.01081, allocations: 1.312 MB / 0.6242 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.01087, allocations: 75.33 kB / 0.6243 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.01091, allocations: 7.984 kB / 0.6243 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.01097, allocations: 16.48 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of SimCode: time 4.3e-07/0.01097, allocations: 7.938 kB / 0.6243 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.02983, allocations: 2.517 MB / 0.6268 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.88, allocations: 6.609 kB / 0.6268 GB, free: 4.508 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 & /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.622991727665067] Failed to read output from testmodel.py, exit status != 0: 6.961876824498177 6.970627273 6.96484939 Calling exit ...