Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000723/0.000723, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007643/0.0007643, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 16.09 kB / 0.6739 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.189, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0007517/0.1898, allocations: 317.8 kB / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.115e-05/0.1898, allocations: 11.94 kB / 0.7878 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.1899, allocations: 3.938 kB / 0.7878 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1899, allocations: 0 / 0.7878 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.1899, allocations: 0 / 0.7878 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.376e-05/0.19, allocations: 0 / 0.7878 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.184e-05/0.19, allocations: 0 / 0.7878 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.1901, allocations: 7.984 kB / 0.7878 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.1901, allocations: 4 kB / 0.7878 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.1901, allocations: 0 / 0.7878 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1901, allocations: 0 / 0.7878 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-06/0.1901, allocations: 0 / 0.7878 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.594e-06/0.1902, allocations: 4 kB / 0.7878 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1902, allocations: 25.7 kB / 0.7878 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.306e-05/0.1902, allocations: 0 / 0.7878 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1903, allocations: 3.938 kB / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1903, allocations: 0 / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1903, allocations: 7.938 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002506/0.1905, allocations: 311.4 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1906, allocations: 8.094 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.1906, allocations: 30.56 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.9e-05/0.1906, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1908, allocations: 167 kB / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1908, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1908, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.1909, allocations: 33.7 kB / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1909, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.1909, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1909, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.1909, allocations: 7.922 kB / 0.7883 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.1912, allocations: 387.4 kB / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.1913, allocations: 169.1 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.1913, allocations: 80.14 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1914, allocations: 75.28 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1914, allocations: 117.8 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1914, allocations: 0 / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.139e-05/0.1915, allocations: 25.7 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1915, allocations: 130.7 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.1916, allocations: 101.8 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.1916, allocations: 25.7 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.1916, allocations: 80.14 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.1916, allocations: 128 / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1917, allocations: 4 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.1917, allocations: 322.8 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-06/0.1918, allocations: 0 / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.1918, allocations: 0 / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.1918, allocations: 79.28 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.1918, allocations: 75.28 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.473e-05/0.1919, allocations: 33.64 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.1919, allocations: 79.28 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.1919, allocations: 79.28 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.713e-05/0.192, allocations: 154.5 kB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.812e-05/0.192, allocations: 75.28 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.306e-05/0.1921, allocations: 158.5 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.1921, allocations: 79.22 kB / 0.7906 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1922, allocations: 75.28 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.209e-05/0.1923, allocations: 273.3 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.1923, allocations: 104.9 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.1924, allocations: 105.2 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.983e-05/0.1924, allocations: 184.2 kB / 0.7913 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.676e-05/0.1925, allocations: 184.2 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/0.1926, allocations: 184.3 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1928, allocations: 409.1 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.1928, allocations: 105 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1929, allocations: 104.9 kB / 0.7922 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.1929, allocations: 180.3 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.193, allocations: 180.6 kB / 0.7926 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-05/0.193, allocations: 192.2 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.887e-05/0.1931, allocations: 176.3 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1932, allocations: 311.8 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1933, allocations: 186.1 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.1933, allocations: 184.2 kB / 0.7936 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.1934, allocations: 105 kB / 0.7937 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.1935, allocations: 184.2 kB / 0.7938 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1935, allocations: 104.9 kB / 0.7939 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.1936, allocations: 83.28 kB / 0.794 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1936, allocations: 0 / 0.794 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002464/0.1938, allocations: 4.094 kB / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003914/0.1942, allocations: 0.8087 MB / 0.7948 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.589e-05/0.1943, allocations: 0 / 0.7948 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1943, allocations: 4 kB / 0.7948 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1943, allocations: 4 kB / 0.7948 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1946, allocations: 0.5185 MB / 0.7953 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.1952, allocations: 0.5016 MB / 0.7958 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.1954, allocations: 0.6692 MB / 0.7965 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.744e-06/0.1954, allocations: 0 / 0.7965 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.1954, allocations: 7.438 kB / 0.7965 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1954, allocations: 0 / 0.7965 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009236/0.2046, allocations: 0.7348 MB / 0.7972 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.2048, allocations: 203.7 kB / 0.7974 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.665, allocations: 0 / 0.7974 GB, free: 1.195 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: