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.387/1.387, allocations: 252 MB / 267 MB, free: 10.97 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.001089/0.001089, allocations: 176.9 kB / 326.6 MB, free: 2.223 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.899/1.899, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0008376/0.0008377, allocations: 87.62 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 9.312 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001312/0.2308, allocations: 1.085 MB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.2311, allocations: 144.5 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2312, allocations: 0 / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.2312, allocations: 7.984 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.2313, allocations: 7.938 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.2314, allocations: 15.98 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.2315, allocations: 35.91 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.2316, allocations: 15.98 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2316, allocations: 15.92 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.2317, allocations: 19.92 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2317, allocations: 0 / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.2317, allocations: 8 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2317, allocations: 11.91 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.2318, allocations: 33.64 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.2318, allocations: 23.94 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2318, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2318, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.2319, allocations: 3.938 kB / 0.9017 GB, free: 62.36 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.0003933/0.2323, allocations: 351.5 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2323, allocations: 12.02 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.2323, allocations: 38.56 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.2324, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.2325, allocations: 167 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2325, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2325, allocations: 7.984 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2327, allocations: 69.66 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2327, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2327, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2327, allocations: 0 / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.2329, allocations: 63.88 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.2333, allocations: 292.7 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2334, allocations: 66.58 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2336, allocations: 36.88 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2336, allocations: 0 / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.2336, allocations: 38.5 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2336, allocations: 0 / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003855/0.234, allocations: 121.6 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.234, allocations: 59.34 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.2341, allocations: 101.9 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.2341, allocations: 25.7 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.2341, allocations: 96.03 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2342, allocations: 7.844 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.2342, allocations: 4 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.2342, allocations: 318.8 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2343, allocations: 27.97 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.2344, allocations: 35.84 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.784e-05/0.2345, allocations: 31.98 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2345, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002244/0.2348, allocations: 97.55 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2348, allocations: 4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2348, allocations: 4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.2348, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2349, allocations: 16.23 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2349, allocations: 3.984 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.235, allocations: 19.94 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.235, allocations: 3.938 kB / 0.9037 GB, free: 60.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.2351, allocations: 117.8 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2351, allocations: 0 / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.2351, allocations: 7.906 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2352, allocations: 3.938 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2352, allocations: 0 / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2352, allocations: 336 / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2353, allocations: 173.6 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2353, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2354, allocations: 19.98 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2354, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2354, allocations: 8 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2354, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2355, allocations: 3.984 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.2357, allocations: 195.4 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.2357, allocations: 85.09 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2357, allocations: 0 / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.2358, allocations: 4 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.2359, allocations: 11.98 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2359, allocations: 7.984 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.2359, allocations: 87.22 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2359, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001893/0.2361, allocations: 8 kB / 0.9044 GB, free: 59.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004065/0.2366, allocations: 0.728 MB / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.2368, allocations: 71.88 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2368, allocations: 0 / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2369, allocations: 43.91 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2372, allocations: 0 / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.2379, allocations: 486.3 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2381, allocations: 0.6809 MB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.2381, allocations: 4 kB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.2382, allocations: 19.42 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2382, allocations: 0 / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.2489, allocations: 1.507 MB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.2491, allocations: 209 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.733, allocations: 0 / 0.9081 GB, free: 55.54 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)