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.0007986/0.0007986, 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.0008374/0.0008374, 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.9024/0.9024, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7187/0.7187, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 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: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.499e-05, allocations: 5.562 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001469/0.001494, allocations: 0.64 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.002273, allocations: 0.8587 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.002309, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.002335, allocations: 3.984 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.002404, allocations: 7.875 kB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.002542, allocations: 19.92 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.002614, allocations: 47.91 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.00271, allocations: 15.92 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.002784, allocations: 31.91 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.002832, allocations: 11.98 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.002855, allocations: 8 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.002864, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.002882, allocations: 11.97 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.002903, allocations: 11.94 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.585e-05/0.002989, allocations: 43.91 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002991, allocations: 0 / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002992, allocations: 0 / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.002996, allocations: 0 / 0.6198 GB, free: 11.98 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.0003707/0.003367, allocations: 286.2 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.00341, allocations: 8.031 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.00344, allocations: 30.75 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.003463, allocations: 8.891 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.003558, allocations: 109.7 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.003571, allocations: 8.312 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.003581, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.003707, allocations: 66.2 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.003714, allocations: 4.188 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.003723, allocations: 4.375 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.003729, allocations: 4.125 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.003838, allocations: 55.94 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.004158, allocations: 243.9 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.004283, allocations: 66.52 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.004338, allocations: 32.81 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.004354, allocations: 0 / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004372, allocations: 38.56 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.004373, allocations: 4 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000247/0.00462, allocations: 105.6 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.00465, allocations: 55.41 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.004706, allocations: 105.8 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.004717, allocations: 25.7 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.004755, allocations: 92.03 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.004771, allocations: 7.953 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.004798, allocations: 25.7 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.004873, allocations: 310.8 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.004924, allocations: 23.97 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.004969, allocations: 23.97 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.005072, allocations: 52.83 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.005074, allocations: 3.984 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.005207, allocations: 93.48 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.005221, allocations: 4 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.005225, allocations: 0 / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005237, allocations: 3.938 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.005315, allocations: 15.98 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.00532, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.00535, allocations: 15.92 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.005356, allocations: 0 / 0.6216 GB, free: 9.887 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 5.694e-05/0.005413, allocations: 114.8 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.005427, allocations: 7.922 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.005446, allocations: 8.25 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005448, allocations: 4 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.005453, allocations: 4 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005455, allocations: 0 / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.005557, allocations: 132.8 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.00556, allocations: 3.938 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.005595, allocations: 15.98 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005596, allocations: 0 / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.005605, allocations: 3.984 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005605, allocations: 4 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005606, allocations: 3.938 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.005754, allocations: 183.8 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.005761, allocations: 7.938 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.00577, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.005811, allocations: 7.984 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.005856, allocations: 11.98 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.005859, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.005886, allocations: 87.28 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005886, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001443/0.00603, allocations: 4 kB / 0.6222 GB, free: 9.219 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.000312/0.006342, allocations: 0.724 MB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.006479, allocations: 47.95 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.00648, allocations: 0 / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.006536, allocations: 39.91 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.006725, allocations: 9.812 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.007629, allocations: 1.314 MB / 0.6243 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.007669, allocations: 75.28 kB / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.007699, allocations: 11.92 kB / 0.6244 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.007739, allocations: 12.5 kB / 0.6244 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/0.00774, allocations: 0 / 0.6244 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02141, allocations: 2.519 MB / 0.6268 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/6.582, allocations: 12.39 kB / 0.6268 GB, free: 4.488 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.252695680595934] Failed to read output from testmodel.py, exit status != 0: 6.66384613327682 6.675405314 6.670447653 Calling exit ...