Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.00155, allocations: 194 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 66.98 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.215, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001621/0.2167, allocations: 0.6066 MB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.378e-05/0.2167, allocations: 7.938 kB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.2167, allocations: 0 / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.2168, allocations: 7.984 kB / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.2168, allocations: 0 / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.416e-05/0.2168, allocations: 0 / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.548e-05/0.2169, allocations: 0 / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.2169, allocations: 0 / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.2169, allocations: 7.984 kB / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.441e-05/0.217, allocations: 4 kB / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.217, allocations: 0 / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-06/0.217, allocations: 3.938 kB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.217, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.217, allocations: 3.938 kB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.677e-05/0.2171, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2171, allocations: 4 kB / 0.7835 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2171, allocations: 0 / 0.7835 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.2171, allocations: 4 kB / 0.7835 GB, free: 13.28 MB / 0.6075 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.000235/0.2173, allocations: 307.5 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2174, allocations: 16.09 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.2174, allocations: 30.75 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.696e-05/0.2174, allocations: 0.9375 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.862e-05/0.2175, allocations: 160.4 kB / 0.7839 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.2175, allocations: 4.312 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.2175, allocations: 384 / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.445e-05/0.2176, allocations: 34.25 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2176, allocations: 3.938 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.2176, allocations: 4 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2177, allocations: 4 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.334e-05/0.2177, allocations: 3.984 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.2179, allocations: 383.4 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/0.218, allocations: 177 kB / 0.7845 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.218, allocations: 80.14 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2181, allocations: 79.28 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.2181, allocations: 105.8 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2181, allocations: 3.938 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.22e-05/0.2182, allocations: 33.67 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2182, allocations: 126.7 kB / 0.7849 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.2183, allocations: 101.9 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2183, allocations: 29.69 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.2184, allocations: 84.14 kB / 0.7851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-06/0.2184, allocations: 0 / 0.7851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.2184, allocations: 9.719 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.2185, allocations: 310.8 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-06/0.2185, allocations: 0 / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-06/0.2185, allocations: 0 / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.083e-05/0.2185, allocations: 75.28 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/0.2185, allocations: 83.34 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.592e-05/0.2186, allocations: 33.7 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.2186, allocations: 79.28 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.2187, allocations: 83.22 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.811e-05/0.2187, allocations: 154.5 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.2187, allocations: 79.22 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/0.2188, allocations: 154.5 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.2188, allocations: 83.28 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.2189, allocations: 79.22 kB / 0.7863 GB, free: 10.1 MB / 0.6075 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 8.603e-05/0.219, allocations: 265.3 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.219, allocations: 102 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.2191, allocations: 116 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/0.2191, allocations: 180.3 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-05/0.2192, allocations: 180.2 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.733e-05/0.2192, allocations: 184.3 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2194, allocations: 401.2 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.2194, allocations: 104.9 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.2195, allocations: 113 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.82e-05/0.2195, allocations: 184.5 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.2196, allocations: 184.2 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.606e-05/0.2196, allocations: 176.3 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-05/0.2197, allocations: 184.2 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2198, allocations: 311.7 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.2198, allocations: 186.1 kB / 0.7891 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2199, allocations: 180.2 kB / 0.7892 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.22, allocations: 104.9 kB / 0.7893 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.22, allocations: 176.3 kB / 0.7895 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.2201, allocations: 116.9 kB / 0.7896 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.765e-05/0.2201, allocations: 79.28 kB / 0.7897 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2201, allocations: 0 / 0.7897 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00023/0.2203, allocations: 0 / 0.7897 GB, free: 6.422 MB / 0.6075 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.0003154/0.2207, allocations: 0.8136 MB / 0.7905 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 2.694e-05/0.2207, allocations: 0 / 0.7905 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2207, allocations: 3.938 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.2207, allocations: 0 / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.221, allocations: 0.5224 MB / 0.791 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.2219, allocations: 1.526 MB / 0.7925 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2221, allocations: 0.6731 MB / 0.7931 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.103e-06/0.2221, allocations: 0 / 0.7931 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.2221, allocations: 7.438 kB / 0.7931 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2221, allocations: 0 / 0.7931 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009798/0.2319, allocations: 0.7802 MB / 0.7939 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.2321, allocations: 219.8 kB / 0.7941 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.83, allocations: 0 / 0.7941 GB, free: 1.809 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)