Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_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.479/1.479, allocations: 251.9 MB / 266.8 MB, free: 11.06 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.001207/0.001207, allocations: 185.7 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008975/0.0008976, allocations: 102.3 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 11.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2166, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0008417/0.2176, allocations: 272.5 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.365e-05/0.2176, allocations: 4 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.2177, allocations: 4 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.2177, allocations: 0 / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.2177, allocations: 3.938 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-05/0.2178, allocations: 0 / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.2178, allocations: 0 / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.2179, allocations: 3.938 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.2179, allocations: 7.984 kB / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.293e-05/0.218, allocations: 4 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.218, allocations: 3.938 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-06/0.218, allocations: 0 / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.218, allocations: 0 / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.2181, allocations: 25.7 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.068e-05/0.2181, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2181, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2181, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2182, allocations: 0 / 0.9005 GB, free: 63.49 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.0002568/0.2184, allocations: 320.1 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.2185, allocations: 8.031 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.2185, allocations: 30.56 kB / 0.9008 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2186, allocations: 3.953 kB / 0.9008 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2187, allocations: 163.1 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2187, allocations: 0 / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2187, allocations: 0 / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.597e-05/0.2188, allocations: 29.64 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2188, allocations: 0 / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2189, allocations: 0 / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2189, allocations: 7.984 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.2189, allocations: 4 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.2192, allocations: 383.5 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.2193, allocations: 169.1 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2193, allocations: 79.28 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2193, allocations: 115.2 kB / 0.9017 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.2193, allocations: 0 / 0.9017 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.242e-05/0.2194, allocations: 29.7 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.2195, allocations: 130.6 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.2196, allocations: 93.86 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.2196, allocations: 29.64 kB / 0.902 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.2196, allocations: 88.27 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.2196, allocations: 3.938 kB / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.2196, allocations: 0 / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.2197, allocations: 310.8 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-06/0.2197, allocations: 0 / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-06/0.2197, allocations: 0 / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.649e-05/0.2197, allocations: 79.27 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.2198, allocations: 75.28 kB / 0.9025 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.883e-05/0.2198, allocations: 33.7 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.2199, allocations: 83.28 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.2199, allocations: 83.22 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/0.2199, allocations: 150.6 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.22, allocations: 79.28 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.22, allocations: 162.4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.2201, allocations: 83.23 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2201, allocations: 87.2 kB / 0.9033 GB, free: 60.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.2202, allocations: 256.4 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.2203, allocations: 101 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2203, allocations: 116 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.2203, allocations: 176.3 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/0.2204, allocations: 184.2 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.2204, allocations: 181 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2206, allocations: 405.2 kB / 0.9046 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.2206, allocations: 108.9 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.2206, allocations: 101 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.841e-05/0.2207, allocations: 180.3 kB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.2207, allocations: 184.2 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-05/0.2208, allocations: 176.3 kB / 0.9053 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.077e-05/0.2208, allocations: 184.5 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.502e-05/0.2209, allocations: 311.8 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.2209, allocations: 190 kB / 0.906 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.221, allocations: 180.2 kB / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.2211, allocations: 108.9 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.2211, allocations: 176.3 kB / 0.9064 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2212, allocations: 105 kB / 0.9065 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.2212, allocations: 79.28 kB / 0.9066 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.224e-06/0.2212, allocations: 0 / 0.9066 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003678/0.2216, allocations: 7.875 kB / 0.9066 GB, free: 56.74 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 (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.0002655/0.2219, allocations: 0.8086 MB / 0.9074 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.02e-05/0.2219, allocations: 8.094 kB / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2219, allocations: 0 / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.2219, allocations: 0 / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2222, allocations: 0.5224 MB / 0.9079 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.2229, allocations: 0.4899 MB / 0.9084 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.223, allocations: 0.677 MB / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.223, allocations: 0 / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.2231, allocations: 9.688 kB / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2231, allocations: 0 / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.2338, allocations: 0.7388 MB / 0.9098 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.234, allocations: 204.4 kB / 0.91 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/1.662, allocations: 0 / 0.91 GB, free: 53.31 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)