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.302/1.302, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009559/0.0009562, allocations: 186.3 kB / 325.9 MB, free: 2.691 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.483/1.483, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007519/0.0007518, allocations: 95.62 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 15.34 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1792, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001412/0.1807, allocations: 1.108 MB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.181, allocations: 145.2 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.181, allocations: 4 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.1811, allocations: 7.922 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.1812, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.1813, allocations: 19.98 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.1814, allocations: 35.92 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1815, allocations: 24.19 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.1815, allocations: 15.94 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.1816, allocations: 27.84 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1816, allocations: 4 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.1817, allocations: 4 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1817, allocations: 7.922 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1817, allocations: 15.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.963e-05/0.1818, allocations: 39.86 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1818, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1818, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1818, allocations: 0 / 0.8976 GB, free: 66.62 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.0003989/0.1822, allocations: 355.4 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1823, allocations: 8.031 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1823, allocations: 34.73 kB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.1823, allocations: 4.938 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1825, allocations: 172.2 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1825, allocations: 8.375 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.1825, allocations: 384 / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1827, allocations: 78.16 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1827, allocations: 3.938 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1827, allocations: 0 / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1827, allocations: 4 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1829, allocations: 59.94 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.1832, allocations: 284.8 kB / 0.8986 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1834, allocations: 66.48 kB / 0.8987 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.1835, allocations: 44.91 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1835, allocations: 0 / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.1835, allocations: 34.56 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1835, allocations: 0 / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.1839, allocations: 121.6 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1839, allocations: 51.41 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.184, allocations: 113.9 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.184, allocations: 29.7 kB / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1841, allocations: 88.12 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1841, allocations: 15.84 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.1841, allocations: 9.719 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.1842, allocations: 318.8 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.1843, allocations: 27.97 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.1844, allocations: 27.98 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1845, allocations: 64.81 kB / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1845, allocations: 0 / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002058/0.1848, allocations: 105.8 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1848, allocations: 4 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1848, allocations: 64 / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1848, allocations: 11.92 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1849, allocations: 19.97 kB / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1849, allocations: 0 / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.185, allocations: 15.98 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.185, allocations: 0 / 0.8997 GB, free: 64.24 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 5.713e-05/0.1851, allocations: 113.8 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1851, allocations: 4 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.1851, allocations: 7.891 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1851, allocations: 0 / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1851, allocations: 7.938 kB / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1852, allocations: 0 / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.1853, allocations: 177.6 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1853, allocations: 7.984 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.1854, allocations: 15.98 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1854, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.1854, allocations: 4 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1854, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1854, allocations: 4 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1856, allocations: 195.4 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.1857, allocations: 77.11 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1857, allocations: 4 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.1858, allocations: 7.984 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1858, allocations: 11.98 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1859, allocations: 8 kB / 0.9003 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.1859, allocations: 83.27 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1859, allocations: 0 / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002024/0.1861, allocations: 8 kB / 0.9004 GB, free: 63.42 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.0004066/0.1865, allocations: 0.7318 MB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1867, allocations: 67.95 kB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1867, allocations: 0 / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.1868, allocations: 35.97 kB / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1871, allocations: 3.188 kB / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1883, allocations: 1.357 MB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.1884, allocations: 0.6809 MB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.1884, allocations: 4 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.1885, allocations: 19.52 kB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1885, allocations: 3.938 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009767/0.1983, allocations: 1.519 MB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.1985, allocations: 230.2 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.684, allocations: 0 / 0.905 GB, free: 58.79 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)