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.424/1.424, allocations: 252 MB / 267.3 MB, free: 10.84 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.001517/0.001517, allocations: 180.2 kB / 327 MB, free: 2.105 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.725/1.725, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007325/0.0007327, allocations: 99.56 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 12.56 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 106.3 MB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001057/0.2319, allocations: 342.5 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.266e-05/0.232, allocations: 0 / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.2321, allocations: 3.938 kB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.2321, allocations: 0 / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.2322, allocations: 0 / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.821e-05/0.2322, allocations: 0 / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.2323, allocations: 4 kB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.932e-05/0.2323, allocations: 4 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.2324, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.2324, allocations: 3.984 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2324, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.2324, allocations: 4 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.2325, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2325, allocations: 25.7 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.637e-05/0.2326, allocations: 7.938 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2326, allocations: 0 / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2326, allocations: 0 / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2326, allocations: 0 / 0.9013 GB, free: 62.96 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.000271/0.2329, allocations: 308.9 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.2329, allocations: 12.09 kB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.233, allocations: 34.69 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.233, allocations: 8.875 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.2331, allocations: 164.4 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2331, allocations: 384 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2331, allocations: 384 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2333, allocations: 30.27 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2333, allocations: 3.938 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2333, allocations: 0 / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2333, allocations: 0 / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.2333, allocations: 0 / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2336, allocations: 387.5 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.824e-05/0.2337, allocations: 173.1 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.2337, allocations: 80.14 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2338, allocations: 75.28 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2338, allocations: 117.8 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2338, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.536e-05/0.2339, allocations: 29.64 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.234, allocations: 126.7 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.234, allocations: 93.86 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2341, allocations: 25.7 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.2341, allocations: 80.14 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.2341, allocations: 12.11 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.2341, allocations: 0 / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.2342, allocations: 314.8 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.2342, allocations: 0 / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.2342, allocations: 3.984 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.622e-05/0.2342, allocations: 79.25 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.2342, allocations: 83.22 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.443e-05/0.2343, allocations: 33.64 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2343, allocations: 83.28 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2344, allocations: 75.28 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/0.2344, allocations: 154.6 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.2344, allocations: 79.22 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.2344, allocations: 158.5 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.2345, allocations: 87.2 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2345, allocations: 79.28 kB / 0.9042 GB, free: 59.79 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 6.963e-05/0.2346, allocations: 264.3 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.2347, allocations: 101 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.2347, allocations: 108 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/0.2347, allocations: 180.3 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/0.2348, allocations: 192.2 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.2348, allocations: 176.3 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.235, allocations: 409.1 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.235, allocations: 104.9 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.235, allocations: 101 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.332e-05/0.235, allocations: 184.2 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.2351, allocations: 188.6 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-05/0.2351, allocations: 180.2 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.203e-05/0.2352, allocations: 180.2 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.004e-05/0.2353, allocations: 311.8 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.2353, allocations: 182.1 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.2354, allocations: 188.2 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.2355, allocations: 101 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.2355, allocations: 176.3 kB / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2355, allocations: 112.9 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.2356, allocations: 79.28 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2356, allocations: 4.094 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002641/0.2358, allocations: 0 / 0.9075 GB, free: 56.12 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.0003262/0.2362, allocations: 0.8125 MB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.576e-05/0.2362, allocations: 3.938 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2362, allocations: 4 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.2362, allocations: 0 / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2366, allocations: 0.5185 MB / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/0.2374, allocations: 1.53 MB / 0.9103 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2375, allocations: 0.6772 MB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.527e-06/0.2376, allocations: 4 kB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.2376, allocations: 7.438 kB / 0.911 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2376, allocations: 0 / 0.911 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.2484, allocations: 0.7435 MB / 0.9117 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.2486, allocations: 222.8 kB / 0.912 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.094, allocations: 0 / 0.912 GB, free: 51.59 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)