Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 169.7 kB / 327 MB, free: 2.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.0008593, allocations: 74.39 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 12.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2797, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0019/0.2816, allocations: 1.093 MB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004549/0.2821, allocations: 156.4 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.2822, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.2823, allocations: 3.938 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.2824, allocations: 0 / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2827, allocations: 19.98 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2828, allocations: 47.84 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.283, allocations: 12 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2831, allocations: 19.91 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.614e-05/0.2832, allocations: 15.92 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.2832, allocations: 4 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.2833, allocations: 0 / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.2833, allocations: 11.98 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.2834, allocations: 41.56 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.2835, allocations: 35.86 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-05/0.2835, allocations: 0 / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2836, allocations: 0 / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2836, allocations: 4 kB / 0.9024 GB, free: 61.93 MB / 0.6042 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.0005959/0.2842, allocations: 355.6 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.2842, allocations: 12.03 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.2843, allocations: 30.75 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.2844, allocations: 0.9375 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2845, allocations: 172.3 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.2845, allocations: 384 / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2846, allocations: 8.359 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2848, allocations: 74.22 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2849, allocations: 3.938 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2849, allocations: 0 / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2849, allocations: 0 / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.2852, allocations: 71.88 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.2858, allocations: 276.8 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.286, allocations: 74.53 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.2861, allocations: 36.92 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2862, allocations: 0 / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2862, allocations: 42.42 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.2862, allocations: 0 / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004352/0.2867, allocations: 125.6 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2867, allocations: 51.41 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.2868, allocations: 109.8 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2868, allocations: 29.7 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.2869, allocations: 84.14 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2869, allocations: 11.84 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.2869, allocations: 3.938 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.287, allocations: 322.8 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.2871, allocations: 23.98 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.2872, allocations: 39.91 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.2874, allocations: 60.81 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2874, allocations: 0 / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002554/0.2877, allocations: 97.56 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2877, allocations: 7.984 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2877, allocations: 0 / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.2877, allocations: 4 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2879, allocations: 11.98 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2879, allocations: 8 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.288, allocations: 4.328 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.288, allocations: 3.984 kB / 0.9044 GB, free: 59.59 MB / 0.6042 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 8.177e-05/0.2881, allocations: 121.7 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2881, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.2881, allocations: 11.89 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2881, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2882, allocations: 4 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2882, allocations: 0 / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2883, allocations: 185.5 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2883, allocations: 256 / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.2884, allocations: 15.98 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2884, allocations: 4 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2885, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2885, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2885, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.2888, allocations: 195.4 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.2888, allocations: 77.11 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.2888, allocations: 7.922 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.2889, allocations: 12 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.289, allocations: 11.98 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.289, allocations: 0 / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.2891, allocations: 87.27 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2891, allocations: 3.938 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000214/0.2893, allocations: 8 kB / 0.9051 GB, free: 58.75 MB / 0.6042 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.000602/0.2899, allocations: 0.7289 MB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.2902, allocations: 75.88 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2902, allocations: 0 / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2903, allocations: 35.97 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2906, allocations: 11.94 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.292, allocations: 1.355 MB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2922, allocations: 0.6809 MB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.274e-05/0.2922, allocations: 4 kB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.2923, allocations: 23.42 kB / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2923, allocations: 0 / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.3051, allocations: 1.515 MB / 0.9095 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.3054, allocations: 234.6 kB / 0.9097 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.121, allocations: 0 / 0.9097 GB, free: 54.11 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)