Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001209/0.001209, allocations: 183.1 kB / 326.5 MB, free: 2.262 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.906/1.906, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001116/0.001116, allocations: 102.4 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 15.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0007676/0.2321, allocations: 325.8 kB / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.06e-05/0.2322, allocations: 3.938 kB / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.2322, allocations: 0 / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.2323, allocations: 0 / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.716e-05/0.2323, allocations: 0 / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.197e-05/0.2323, allocations: 4 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.2324, allocations: 3.938 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.2325, allocations: 4 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.2325, allocations: 0 / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.835e-05/0.2325, allocations: 0 / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.2325, allocations: 7.938 kB / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.2325, allocations: 0 / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.2325, allocations: 0 / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.2326, allocations: 25.7 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.491e-05/0.2326, allocations: 3.984 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2326, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2326, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2326, allocations: 4 kB / 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.0002124/0.2329, allocations: 304 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2329, allocations: 8.094 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.2329, allocations: 34.56 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.233, allocations: 8 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.2331, allocations: 167 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2331, allocations: 0 / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.2331, allocations: 3.938 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.778e-05/0.2332, allocations: 25.7 kB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2332, allocations: 4 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2332, allocations: 0 / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2332, allocations: 0 / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.596e-05/0.2332, allocations: 4 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.2335, allocations: 387.5 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.2336, allocations: 173.1 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2336, allocations: 75.28 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2336, allocations: 123.2 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2336, allocations: 0 / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.289e-05/0.2337, allocations: 25.7 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2337, allocations: 126.7 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.2338, allocations: 105.7 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.2338, allocations: 25.7 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.2338, allocations: 80.14 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.2339, allocations: 4.125 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2339, allocations: 0 / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.234, allocations: 318.8 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-06/0.234, allocations: 0 / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.234, allocations: 4 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.334e-05/0.234, allocations: 75.28 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.234, allocations: 75.28 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.39e-05/0.2341, allocations: 25.7 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2341, allocations: 83.28 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2341, allocations: 87.2 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.2342, allocations: 150.6 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-05/0.2342, allocations: 83.22 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.2342, allocations: 158.5 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.2343, allocations: 79.28 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2343, allocations: 79.22 kB / 0.9033 GB, free: 60.41 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 6.202e-05/0.2344, allocations: 264.4 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.2344, allocations: 109 kB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.2345, allocations: 108 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.2345, allocations: 176.3 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/0.2345, allocations: 180.3 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.2346, allocations: 189 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2347, allocations: 401.2 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.2347, allocations: 104.9 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.2347, allocations: 105 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.823e-05/0.2348, allocations: 184.2 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.2348, allocations: 184.2 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.477e-05/0.2348, allocations: 176.3 kB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-05/0.2349, allocations: 184.6 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.2349, allocations: 315.8 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.235, allocations: 182 kB / 0.9061 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.235, allocations: 180.3 kB / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.2351, allocations: 104.9 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.2351, allocations: 184.2 kB / 0.9065 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.2352, allocations: 108.9 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.2352, allocations: 79.22 kB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2352, allocations: 4 kB / 0.9067 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002431/0.2354, allocations: 4.094 kB / 0.9067 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.0002524/0.2357, allocations: 0.8086 MB / 0.9075 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.315e-05/0.2357, allocations: 0 / 0.9075 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2357, allocations: 0 / 0.9075 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.2358, allocations: 11.94 kB / 0.9075 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.0001946/0.236, allocations: 0.5146 MB / 0.908 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.2364, allocations: 0.4939 MB / 0.9085 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2365, allocations: 0.6731 MB / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.295e-06/0.2365, allocations: 0 / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.2366, allocations: 7.438 kB / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2366, allocations: 0 / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.2471, allocations: 0.7373 MB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.2473, allocations: 216.1 kB / 0.9101 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.743, allocations: 0 / 0.9101 GB, free: 53.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)