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.001076/0.001076, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00113/0.00113, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.404/1.404, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.634/1.634, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001483/0.001483, allocations: 68.91 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2145, allocations: 114.5 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001973/0.2166, allocations: 0.6171 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.746e-05/0.2166, allocations: 11.88 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.2166, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.2167, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.424e-05/0.2167, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.123e-05/0.2168, allocations: 4 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.2168, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.2169, allocations: 4 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.2169, allocations: 0 / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.2169, allocations: 4 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2169, allocations: 0 / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-06/0.2169, allocations: 0 / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.217, allocations: 7.922 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.217, allocations: 0 / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.172e-05/0.217, allocations: 4 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2171, allocations: 0 / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2171, allocations: 4 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2171, allocations: 0 / 0.7836 GB, free: 13.09 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.0002709/0.2173, allocations: 311.6 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2174, allocations: 8.031 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.2174, allocations: 34.75 kB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.2175, allocations: 0.9375 kB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2176, allocations: 168.3 kB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.2176, allocations: 384 / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.2176, allocations: 384 / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.2177, allocations: 30.27 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2177, allocations: 3.938 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.2177, allocations: 0 / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2177, allocations: 4 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.2177, allocations: 4 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.2181, allocations: 391.4 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.2182, allocations: 173.1 kB / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.2182, allocations: 80.14 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.2182, allocations: 75.28 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.2183, allocations: 121.8 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2183, allocations: 0 / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.731e-05/0.2184, allocations: 37.67 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.2184, allocations: 130.7 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.2185, allocations: 93.86 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2185, allocations: 25.7 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.2186, allocations: 84.14 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2186, allocations: 0 / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.2186, allocations: 9.719 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2187, allocations: 322.8 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.2187, allocations: 4.125 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/0.2187, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.2188, allocations: 75.28 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/0.2188, allocations: 79.22 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.415e-05/0.2188, allocations: 33.64 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.2189, allocations: 79.28 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.2189, allocations: 75.28 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.735e-05/0.219, allocations: 154.6 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.219, allocations: 83.22 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-05/0.2191, allocations: 154.6 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.2192, allocations: 83.2 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.2192, allocations: 75.28 kB / 0.7865 GB, free: 9.906 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 0.0001138/0.2193, allocations: 264.6 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.2194, allocations: 106 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.2194, allocations: 112 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-05/0.2195, allocations: 180.2 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.663e-05/0.2196, allocations: 184.2 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.988e-05/0.2196, allocations: 176.3 kB / 0.7875 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2198, allocations: 409.2 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/0.2199, allocations: 108.9 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.2199, allocations: 105 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.22, allocations: 180.5 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.22, allocations: 176.3 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-05/0.2201, allocations: 180.3 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.683e-05/0.2201, allocations: 192.2 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.2203, allocations: 307.7 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.2203, allocations: 182 kB / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2204, allocations: 180.2 kB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.2205, allocations: 116.9 kB / 0.7895 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.2205, allocations: 176.3 kB / 0.7897 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2206, allocations: 108.9 kB / 0.7898 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.2206, allocations: 79.28 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2206, allocations: 0 / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002431/0.2209, allocations: 0 / 0.7899 GB, free: 6.23 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.0003582/0.2212, allocations: 0.8088 MB / 0.7907 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.748e-05/0.2213, allocations: 3.938 kB / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2213, allocations: 0 / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.2213, allocations: 0 / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2216, allocations: 471.6 kB / 0.7911 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.2225, allocations: 1.528 MB / 0.7926 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.2228, allocations: 0.6729 MB / 0.7933 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.114e-06/0.2228, allocations: 0 / 0.7933 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.2228, allocations: 7.438 kB / 0.7933 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2228, allocations: 0 / 0.7933 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009115/0.2319, allocations: 0.8151 MB / 0.7941 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.2321, allocations: 214 kB / 0.7943 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.813, allocations: 0 / 0.7943 GB, free: 1.676 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)