Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.286/1.286, 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.0008695/0.0008695, allocations: 176.6 kB / 325.9 MB, free: 2.684 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.528/1.528, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007654/0.0007653, allocations: 92.8 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003975, allocations: 15.41 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1862, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006428/0.1869, allocations: 302.9 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 2.878e-05/0.1869, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.187, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.187, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.187, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.8e-05/0.1871, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.091e-05/0.1871, allocations: 11.94 kB / 0.8965 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1872, allocations: 0 / 0.8965 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.1872, allocations: 3.938 kB / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.593e-05/0.1872, allocations: 4 kB / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1872, allocations: 0 / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-06/0.1872, allocations: 0 / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.1873, allocations: 3.984 kB / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.1873, allocations: 4 kB / 0.8965 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.302e-05/0.1873, allocations: 3.984 kB / 0.8965 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1873, allocations: 0 / 0.8965 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1874, allocations: 0 / 0.8965 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1874, allocations: 0 / 0.8965 GB, free: 67.72 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001865/0.1876, allocations: 315.8 kB / 0.8968 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1876, allocations: 12.03 kB / 0.8969 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.1876, allocations: 34.75 kB / 0.8969 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.804e-05/0.1876, allocations: 4.875 kB / 0.8969 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.927e-05/0.1877, allocations: 164.4 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1877, allocations: 384 / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.1877, allocations: 4.375 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.568e-05/0.1878, allocations: 26.27 kB / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1878, allocations: 3.938 kB / 0.8971 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.1878, allocations: 3.938 kB / 0.8971 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1878, allocations: 4 kB / 0.8971 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.228e-05/0.1879, allocations: 4 kB / 0.8971 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1881, allocations: 379.5 kB / 0.8975 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.1881, allocations: 169.1 kB / 0.8976 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.1881, allocations: 84.08 kB / 0.8977 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1881, allocations: 79.28 kB / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1882, allocations: 113.8 kB / 0.8979 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1882, allocations: 0 / 0.8979 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.476e-05/0.1882, allocations: 30.55 kB / 0.8979 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1883, allocations: 130.7 kB / 0.898 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.859e-05/0.1883, allocations: 93.95 kB / 0.8981 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.1883, allocations: 29.73 kB / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.414e-05/0.1884, allocations: 84.14 kB / 0.8982 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.1884, allocations: 0 / 0.8982 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.1884, allocations: 9.719 kB / 0.8982 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.1884, allocations: 310.8 kB / 0.8985 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-06/0.1884, allocations: 0 / 0.8985 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.1884, allocations: 3.938 kB / 0.8985 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.859e-06/0.1885, allocations: 75.28 kB / 0.8986 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.1885, allocations: 83.22 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.443e-05/0.1885, allocations: 33.69 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1885, allocations: 79.28 kB / 0.8988 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1886, allocations: 83.28 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.1886, allocations: 154.5 kB / 0.899 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.018e-05/0.1886, allocations: 75.28 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.1886, allocations: 158.5 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.1887, allocations: 83.28 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1887, allocations: 75.28 kB / 0.8994 GB, free: 64.54 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/0.1888, allocations: 268.3 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1888, allocations: 104.9 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.1888, allocations: 108.1 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.1888, allocations: 188.2 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.1889, allocations: 180.2 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.1889, allocations: 185.1 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.189, allocations: 401.2 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.189, allocations: 105 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.1891, allocations: 108.9 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/0.1891, allocations: 184.3 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1891, allocations: 180.2 kB / 0.9013 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.842e-05/0.1891, allocations: 176.3 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-05/0.1892, allocations: 180.6 kB / 0.9017 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.549e-05/0.1892, allocations: 319.7 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.1893, allocations: 186 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1893, allocations: 180.2 kB / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.1893, allocations: 101 kB / 0.9024 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1894, allocations: 188.2 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1894, allocations: 105 kB / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.1894, allocations: 79.28 kB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1894, allocations: 0 / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002576/0.1897, allocations: 0 / 0.9028 GB, free: 60.87 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: 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 (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.0002093/0.1899, allocations: 0.8204 MB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.078e-05/0.1899, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1899, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1899, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1902, allocations: 0.5146 MB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.1909, allocations: 1.533 MB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.191, allocations: 0.6692 MB / 0.9062 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.516e-06/0.191, allocations: 4 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.191, allocations: 7.438 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.191, allocations: 0 / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.2013, allocations: 0.7354 MB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.2015, allocations: 233.2 kB / 0.9072 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/1.58, allocations: 0 / 0.9072 GB, free: 56.35 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)