Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.475/1.475, allocations: 287.4 MB / 302.6 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009457/0.0009454, allocations: 186 kB / 371.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006809/0.0006811, allocations: 80.88 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003688, allocations: 18.98 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0006708/0.1814, allocations: 389.8 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.1821, allocations: 0.8205 MB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.1821, allocations: 0 / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.1821, allocations: 7.922 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.1822, allocations: 7.938 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.1823, allocations: 15.98 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.1824, allocations: 31.92 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.1825, allocations: 27.91 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.1825, allocations: 11.98 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.1826, allocations: 19.92 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1826, allocations: 0 / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.1826, allocations: 4 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1826, allocations: 7.938 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.1827, allocations: 29.7 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.861e-05/0.1827, allocations: 31.91 kB / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1827, allocations: 0 / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1827, allocations: 0 / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1827, allocations: 4 kB / 0.9801 GB, free: 26.64 MB / 0.6198 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.0003397/0.1831, allocations: 351.7 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1831, allocations: 8.031 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.1832, allocations: 38.73 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.1832, allocations: 4.844 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.1833, allocations: 172.3 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1833, allocations: 4.375 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1833, allocations: 8.375 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1835, allocations: 70.22 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1835, allocations: 3.938 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1835, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1835, allocations: 4 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.1837, allocations: 67.88 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.184, allocations: 292.7 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1842, allocations: 70.58 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.1843, allocations: 32.88 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1843, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.1843, allocations: 38.56 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1843, allocations: 4 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003456/0.1847, allocations: 117.6 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1847, allocations: 51.41 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.1848, allocations: 109.8 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.1848, allocations: 29.7 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.1848, allocations: 92.06 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.1848, allocations: 11.81 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1848, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.1849, allocations: 318.8 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/0.185, allocations: 31.97 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.1851, allocations: 23.98 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1852, allocations: 64.81 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1852, allocations: 4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001949/0.1854, allocations: 93.86 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1855, allocations: 8 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1855, allocations: 48 / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1855, allocations: 3.984 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1856, allocations: 19.98 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1856, allocations: 0 / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.136e-05/0.1857, allocations: 15.89 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1857, allocations: 4 kB / 0.9822 GB, free: 24.29 MB / 0.6198 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 4.707e-05/0.1857, allocations: 113.8 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1858, allocations: 4 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.1858, allocations: 11.89 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1858, allocations: 4 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1858, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1858, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1859, allocations: 177.5 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1859, allocations: 0 / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.186, allocations: 19.92 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.186, allocations: 3.984 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.186, allocations: 0 / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.1861, allocations: 0 / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1861, allocations: 4 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1863, allocations: 199.3 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.1863, allocations: 77.11 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1863, allocations: 3.938 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.1864, allocations: 16.23 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1865, allocations: 15.92 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1865, allocations: 4 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.252e-05/0.1865, allocations: 79.28 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1865, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001806/0.1867, allocations: 12 kB / 0.9829 GB, free: 23.46 MB / 0.6198 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.0003653/0.1871, allocations: 0.728 MB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1873, allocations: 63.95 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1873, allocations: 0 / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.1874, allocations: 43.91 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1876, allocations: 5.688 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.1883, allocations: 478.6 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1885, allocations: 0.6809 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.369e-05/0.1885, allocations: 12 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1885, allocations: 15.42 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1886, allocations: 0 / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.1996, allocations: 1.487 MB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.1997, allocations: 213.1 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/1.559, allocations: 0 / 0.9865 GB, free: 19.79 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)