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.419/1.419, allocations: 252 MB / 267 MB, free: 10.96 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.001655/0.001655, allocations: 187.4 kB / 326.6 MB, free: 2.207 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.785/1.785, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0008199/0.0008196, allocations: 90 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004354, allocations: 17.41 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0007097/0.211, allocations: 322.6 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.962e-05/0.211, allocations: 4 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.2111, allocations: 7.938 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.2111, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.2111, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.605e-05/0.2111, allocations: 3.938 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.2112, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.2113, allocations: 4 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.337e-05/0.2113, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.031e-05/0.2113, allocations: 4 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2113, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-06/0.2113, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.2114, allocations: 3.984 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.2114, allocations: 25.7 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.153e-05/0.2114, allocations: 3.984 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2114, allocations: 0 / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2114, allocations: 0 / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2115, allocations: 0 / 0.9007 GB, free: 63.4 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.0002182/0.2117, allocations: 315.4 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2117, allocations: 8.031 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.2118, allocations: 30.56 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.2118, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.2119, allocations: 182.9 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2119, allocations: 0 / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.2119, allocations: 0 / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.673e-05/0.212, allocations: 27.02 kB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.212, allocations: 4 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.212, allocations: 4 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.212, allocations: 0 / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.212, allocations: 0 / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.2123, allocations: 383.5 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.2123, allocations: 173.1 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.2124, allocations: 84.14 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2124, allocations: 75.28 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2124, allocations: 109.9 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2124, allocations: 0 / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.425e-05/0.2125, allocations: 29.64 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2125, allocations: 130.7 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.2126, allocations: 109.8 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-06/0.2126, allocations: 25.7 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.2126, allocations: 80.14 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.2126, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.2126, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.2127, allocations: 310.8 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-06/0.2127, allocations: 0 / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-06/0.2127, allocations: 4 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.552e-05/0.2127, allocations: 79.41 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.2127, allocations: 75.28 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.748e-05/0.2128, allocations: 33.72 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2128, allocations: 87.22 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2129, allocations: 79.28 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/0.2129, allocations: 150.6 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.264e-05/0.2129, allocations: 79.22 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.213, allocations: 158.6 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.213, allocations: 79.22 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.213, allocations: 79.23 kB / 0.9036 GB, free: 60.24 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.393e-05/0.2131, allocations: 260.4 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.2132, allocations: 109 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.2132, allocations: 108 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/0.2132, allocations: 180.3 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/0.2133, allocations: 184.2 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/0.2133, allocations: 180.2 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2135, allocations: 401.2 kB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.2135, allocations: 108.9 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.2136, allocations: 116.9 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.373e-05/0.2136, allocations: 180.2 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.2136, allocations: 180.3 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.684e-05/0.2137, allocations: 176.6 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-05/0.2137, allocations: 188.2 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.006e-05/0.2138, allocations: 315.8 kB / 0.9061 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.2139, allocations: 182.1 kB / 0.9063 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.2139, allocations: 176.3 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.214, allocations: 104.9 kB / 0.9066 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.214, allocations: 184.2 kB / 0.9067 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.214, allocations: 112.9 kB / 0.9068 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.036e-05/0.2141, allocations: 75.28 kB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2141, allocations: 4 kB / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002732/0.2144, allocations: 0 / 0.9069 GB, free: 56.56 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.000288/0.2146, allocations: 0.8126 MB / 0.9077 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.525e-05/0.2147, allocations: 3.938 kB / 0.9077 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2147, allocations: 0 / 0.9077 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.2147, allocations: 4 kB / 0.9077 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.215, allocations: 0.5199 MB / 0.9082 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.2155, allocations: 0.4899 MB / 0.9087 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2156, allocations: 0.6731 MB / 0.9094 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.784e-06/0.2156, allocations: 0 / 0.9094 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.2157, allocations: 7.438 kB / 0.9094 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 3.938 kB / 0.9094 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2266, allocations: 0.7497 MB / 0.9101 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.2268, allocations: 214.4 kB / 0.9103 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.79, allocations: 0 / 0.9103 GB, free: 53.12 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)